]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
PhysicalConsole._wait_for_login(): reduce attempts
authorZack Cerza <zack@redhat.com>
Tue, 16 Aug 2016 16:09:15 +0000 (10:09 -0600)
committerZack Cerza <zack@redhat.com>
Tue, 16 Aug 2016 23:07:33 +0000 (17:07 -0600)
Instead of trying six times by default, try twice.

Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/orchestra/console.py

index 85e905546c5a4a482961af8d50fdf791d19090e1..a9025b72229b82bc8c5e11ded5ac3986c1577101 100644 (file)
@@ -59,7 +59,7 @@ class PhysicalConsole():
         if r != 0:
             self._exec('sol deactivate')
 
-    def _wait_for_login(self, timeout=None, attempts=6):
+    def _wait_for_login(self, timeout=None, attempts=2):
         """
         Wait for login.  Retry if timeouts occur on commands.
         """