Extended timeout to wait for the daemonset

Related-PROD: K0RQA-20
Change-Id: I4f77c173f4e9047c1cc8f6ed4175ebcb4a785244
diff --git a/cfg_checker/modules/network/mapper.py b/cfg_checker/modules/network/mapper.py
index 3072c68..7dc2c96 100644
--- a/cfg_checker/modules/network/mapper.py
+++ b/cfg_checker/modules/network/mapper.py
@@ -804,7 +804,11 @@
             _d = self.master.prepare_daemonset("daemonset_template.yaml")
 
             # wait for daemonset, normally less than 60 sec for all
-            # but still, let us give it 10 second per pod
+            # but still, let us give it 10 second per pod.
+            # Extended timeout to 300 in case there is a small cluster
+            # and slow Internet connection to pull the image
+            if self.master.nodes.__len__() < 10:
+                _timeout = 300
             _timeout = self.master.nodes.__len__() * 10
             if not self.master.wait_for_daemonset(_d, timeout=_timeout):
                 raise KubeException("Daemonset deployment fail")