]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
orchestra/console.py: increase 'power status' timeout 2090/head
authorDan Mick <dan.mick@redhat.com>
Mon, 29 Sep 2025 17:29:39 +0000 (10:29 -0700)
committerDan Mick <dan.mick@redhat.com>
Mon, 29 Sep 2025 17:29:39 +0000 (10:29 -0700)
in set_power() we check to see if the power operation worked by
examining ipmi power status.  Give longer than 1s for the
status command to complete.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
teuthology/orchestra/console.py

index a9c67ebbf17871c4e301ecf37e1f601ed6366e27..b3ec963d7e05c60fa0812afcd90f42ce8cd281ab 100644 (file)
@@ -217,7 +217,7 @@ class PhysicalConsole(RemoteConsole):
                             pexpect.EOF,
                             pexpect.TIMEOUT
                         ],
-                        timeout=1
+                        timeout=20
                     )
                     self.log.debug(
                         f"check power output: {child.logfile_read.getvalue().strip()}"