Speed up of timeouts for wait up

This is identical to the patch for wait down on hosts.  This causes
wait up to return more quickly when a machine comes back on.  This
waits 10 seconds before retrying, the previous approach generally
waited the full length of timeout due to the delay required for ssh
connections to timeout.

Signed-off-by: Ryan Stutsman <stutsman@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@651 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/server/hosts/ssh_host.py b/server/hosts/ssh_host.py
index 05526f4..21da329 100644
--- a/server/hosts/ssh_host.py
+++ b/server/hosts/ssh_host.py
@@ -268,10 +268,7 @@
 		
 		while not timeout or time.time() < end_time:
 			try:
-				if timeout:
-					run_timeout= end_time - time.time()
-				else:
-					run_timeout= 10
+				run_timeout= 10
 				result= self.run("true", timeout=run_timeout)
 			except errors.AutoservRunError:
 				pass