]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
PhysicalConsole.power_cycle(): use timeout=300
authorZack Cerza <zack@redhat.com>
Tue, 16 Aug 2016 21:09:27 +0000 (15:09 -0600)
committerZack Cerza <zack@redhat.com>
Tue, 16 Aug 2016 23:07:33 +0000 (17:07 -0600)
Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/orchestra/console.py

index 8e011688f934b3b7894bf3702981fb76d81898fa..7b965e74f7edf838ecfaecd9568666e641aff4d3 100644 (file)
@@ -133,7 +133,7 @@ class PhysicalConsole():
         log.info('Power cycling {s}'.format(s=self.shortname))
         child = self._exec('power cycle')
         child.expect('Chassis Power Control: Cycle', timeout=self.timeout)
-        self._wait_for_login()
+        self._wait_for_login(timeout=300)
         log.info('Power cycle for {s} completed'.format(s=self.shortname))
 
     def hard_reset(self):