[Branch,~linaro-validation/lava-dispatcher/trunk] Rev 156: increase timeout for waiting on the network to come up

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

Commit Message

Paul Larson Nov. 16, 2011, 3:54 a.m.
Merge authors:
  Paul Larson (pwlars)
Related merge proposals:
  https://code.launchpad.net/~pwlars/lava-dispatcher/increase-network-timeout/+merge/82302
  proposed by: Paul Larson (pwlars)
  review: Approve - Paul Larson (pwlars)
  review: Needs Fixing - Spring Zhang (qzhang)
------------------------------------------------------------
revno: 156 [merge]
committer: Paul Larson <paul.larson@canonical.com>
branch nick: lava-dispatcher
timestamp: Tue 2011-11-15 21:51:55 -0600
message:
  increase timeout for waiting on the network to come up
modified:
  lava_dispatcher/client.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

Patch

=== modified file 'lava_dispatcher/client.py'
--- lava_dispatcher/client.py	2011-10-27 09:11:47 +0000
+++ lava_dispatcher/client.py	2011-11-16 03:51:11 +0000
@@ -182,7 +182,7 @@ 
         else:
             return False
 
-    def wait_network_up(self, timeout=120):
+    def wait_network_up(self, timeout=300):
         now = time.time()
         while time.time() < now+timeout:
             if self.check_network_up():