diff mbox

[Branch,~linaro-validation/lava-dispatcher/trunk] Rev 683: Fix for bug 1224359

Message ID 20130912171124.30073.60171.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Tyler Baker Sept. 12, 2013, 5:11 p.m. UTC
------------------------------------------------------------
revno: 683
committer: Tyler Baker <tyler.baker@linaro.org>
branch nick: lava-dispatcher
timestamp: Thu 2013-09-12 10:10:44 -0700
message:
  Fix for bug 1224359
modified:
  lava_dispatcher/client/base.py


--
lp:lava-dispatcher
https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk

You are subscribed to branch lp:lava-dispatcher.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'lava_dispatcher/client/base.py'
--- lava_dispatcher/client/base.py	2013-09-05 00:10:08 +0000
+++ lava_dispatcher/client/base.py	2013-09-12 17:10:44 +0000
@@ -151,7 +151,7 @@ 
     def get_target_ip(self):
         logging.info("Waiting for network to come up")
         try:
-            self.wait_network_up(timeout=20)
+            self.wait_network_up()
         except NetworkError:
             logging.exception("Unable to reach LAVA server")
             raise
@@ -161,7 +161,7 @@ 
                "awk '{print \"<\" $1 \">\"}'" %
                self._client.config.default_network_interface)
         self.run(
-            cmd, [pattern1, pexpect.EOF, pexpect.TIMEOUT], timeout=5)
+            cmd, [pattern1, pexpect.EOF, pexpect.TIMEOUT], timeout=60)
         if self.match_id != 0:
             msg = "Unable to determine target image IP address"
             logging.error(msg)
@@ -177,7 +177,7 @@ 
         self.run(
             "LC_ALL=C ping -W4 -c1 %s" % lava_server_ip,
             ["1 received|1 packets received", "0 received|0 packets received", "Network is unreachable"],
-            timeout=5, failok=True)
+            timeout=60, failok=True)
         if self.match_id == 0:
             return True
         else: