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:
Thomas Baggaley 2023-06-13 05:11:33 +01:00
parent 202850e1a1
commit 491efa0b3e

View File

@ -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: