1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
Description: Raise a test timeout for busy environments
Bug-Debian: https://bugs.debian.org/1093891
Forwarded: yes
Author: Peter Pentchev <roam@ringlet.net>
Last-Update: 2025-01-28
--- a/tests/python/unit/mgr/util.py
+++ b/tests/python/unit/mgr/util.py
@@ -65,7 +65,7 @@
assert len(line) <= x
print("- got it")
- def assert_stopped(self, *, timeout_sec: int = 2) -> None:
+ def assert_stopped(self, *, timeout_sec: int = 10) -> None:
"""Wait for the specified number of seconds for the server to go away."""
print(f"Waiting for up to {timeout_sec} seconds for the server to go away")
for _ in range(timeout_sec * 2):
|