Catch (and ignore) more errors when waiting for a machine to reboot.

Signed-off-by: Josh Gilkerson <[email protected]>

--- autotest/server/hosts/abstract_ssh.py       2010-01-15 11:43:04.000000000 
-0800
+++ autotest/server/hosts/abstract_ssh.py       2010-01-15 11:43:04.000000000 
-0800
@@ -425,7 +425,7 @@
         while not timeout or current_time < end_time:
             try:
                 new_boot_id = self.get_boot_id()
-            except error.AutoservSSHTimeout:
+            except error.AutoservError:
                 logging.debug('Host %s is now unreachable over ssh, is down',
                               self.hostname)
                 return True
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to