Skip to content

Commit b99faaf

Browse files
committed
test: increase retries in wait_process_termination
In `test_signals.py::test_sigxfsz_handler`, we seem to need to wait on average 6 seconds. Prior to unifying all the "wait for FC to die" tests, this one just had an endless loop, and the retry parameters passed to `wait_process_termination` which it is using now instead do not provide sufficient waiting. So simply increase the waiting in `wait_process_termination` to 10s. Signed-off-by: Patrick Roy <[email protected]>
1 parent abb42ba commit b99faaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/framework/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ def run_guest_cmd(ssh_connection, cmd, expected, use_json=False):
450450
assert stdout == expected
451451

452452

453-
@retry(wait=wait_fixed(0.5), stop=stop_after_attempt(5), reraise=True)
453+
@retry(wait=wait_fixed(1), stop=stop_after_attempt(10), reraise=True)
454454
def wait_process_termination(p_pid):
455455
"""Wait for a process to terminate.
456456

0 commit comments

Comments
 (0)