From ebebe11bc0ba6b9ba3bada39a69652a578ea0b5b Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Tue, 16 Aug 2016 10:09:15 -0600 Subject: [PATCH] PhysicalConsole._wait_for_login(): reduce attempts Instead of trying six times by default, try twice. Signed-off-by: Zack Cerza --- teuthology/orchestra/console.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/orchestra/console.py b/teuthology/orchestra/console.py index 85e905546c..a9025b7222 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. """ -- 2.39.5