Skip to content

Commit af83d92

Browse files
committed
make time test less flaky
1 parent e65622c commit af83d92

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_qthreadexec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def func(x):
153153
with pytest.raises(TimeoutError):
154154
list(executor.map(func, range(10), timeout=0.01))
155155
duration = time.monotonic() - start
156-
assert duration < 0.02
156+
assert duration < 0.05
157157

158158
executor.shutdown(wait=True, cancel_futures=cancel)
159159
if not cancel:

0 commit comments

Comments
 (0)