From: Zack Cerza Date: Tue, 16 Aug 2016 16:09:15 +0000 (-0600) Subject: PhysicalConsole._wait_for_login(): reduce attempts X-Git-Tag: 1.1.0~548^2~9 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ebebe11bc0ba6b9ba3bada39a69652a578ea0b5b;p=teuthology.git PhysicalConsole._wait_for_login(): reduce attempts Instead of trying six times by default, try twice. Signed-off-by: Zack Cerza --- diff --git a/teuthology/orchestra/console.py b/teuthology/orchestra/console.py index 85e905546..a9025b722 100644 --- a/teuthology/orchestra/console.py +++ b/teuthology/orchestra/console.py @@ -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. """