diff --git a/test/test_wrapper.py b/test/test_wrapper.py index 69e2dc2db14cf4d682e2559635754764e45c8fcd..94a00d859c0f6b2428e166af01d1e90e7a061b65 100644 --- a/test/test_wrapper.py +++ b/test/test_wrapper.py @@ -834,9 +834,9 @@ def test_event_set_callback(ctx_factory): from time import sleep sleep(0.01) - # wait up to a second + # wait up to five seconds (?!) counter += 1 - if counter >= 100: + if counter >= 500: break assert got_called