Skip to content

Commit 085a294

Browse files
YannickJadoulwjakob
authored andcommitted
Increasing timeout in test_gil_scoped.py to get AppVeyor to succeed
1 parent 0ca6867 commit 085a294

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_gil_scoped.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55

66
def _run_in_process(target, *args, **kwargs):
7-
"""Runs target in process and returns its exitcode after 1s (None if still alive)."""
7+
"""Runs target in process and returns its exitcode after 10s (None if still alive)."""
88
process = multiprocessing.Process(target=target, args=args, kwargs=kwargs)
99
process.daemon = True
1010
try:
1111
process.start()
12-
# Do not need to wait much, 1s should be more than enough.
13-
process.join(timeout=1)
12+
# Do not need to wait much, 10s should be more than enough.
13+
process.join(timeout=10)
1414
return process.exitcode
1515
finally:
1616
if process.is_alive():

0 commit comments

Comments
 (0)