test-driver: respect timeout in wait_until_fails
- `wait_until_fails` was not passing through its `timeout` argument to the internal `retry` function, hence was always using 900 seconds (the default timeout for `retry`) rather than the user-specified value.
This commit is contained in:
parent
202850e1a1
commit
491efa0b3e
1 changed files with 1 additions and 1 deletions
|
@ -641,7 +641,7 @@ class Machine:
|
|||
return status != 0
|
||||
|
||||
with self.nested(f"waiting for failure: {command}"):
|
||||
retry(check_failure)
|
||||
retry(check_failure, timeout)
|
||||
return output
|
||||
|
||||
def wait_for_shutdown(self) -> None:
|
||||
|
|
Loading…
Reference in a new issue