Skip to content

Commit

Permalink
Increase timeouts to make tests more reliable
Browse files Browse the repository at this point in the history
  • Loading branch information
jbaublitz committed Mar 22, 2023
1 parent e0a89aa commit 3ea4eb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
MOPool = managed_object_class("MOPool", _POOL_SPEC)
MOBlockDev = managed_object_class("MOBlockDev", _BLOCKDEV_SPEC)

TIME_OUT = 120 # In seconds
TIME_OUT = 360 # In seconds

ObjectManager = make_class(
"ObjectManager",
Expand Down
2 changes: 1 addition & 1 deletion tests/client-dbus/tests/udev/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ def wait_for_pools(self, expected_num, *, name=None):
"""
found_num = None

end_time = time.time() + 10.0
end_time = time.time() + 30.0

while time.time() < end_time and not expected_num == found_num:
known_pools = get_pools(name=name)
Expand Down

0 comments on commit 3ea4eb5

Please sign in to comment.