Skip to content

Commit

Permalink
Increasing timeout in test_gil_scoped.py to get AppVeyor to succeed
Browse files Browse the repository at this point in the history
  • Loading branch information
YannickJadoul authored and wjakob committed Jan 3, 2019
1 parent 0ca6867 commit 085a294
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_gil_scoped.py
Expand Up @@ -4,13 +4,13 @@


def _run_in_process(target, *args, **kwargs):
"""Runs target in process and returns its exitcode after 1s (None if still alive)."""
"""Runs target in process and returns its exitcode after 10s (None if still alive)."""
process = multiprocessing.Process(target=target, args=args, kwargs=kwargs)
process.daemon = True
try:
process.start()
# Do not need to wait much, 1s should be more than enough.
process.join(timeout=1)
# Do not need to wait much, 10s should be more than enough.
process.join(timeout=10)
return process.exitcode
finally:
if process.is_alive():
Expand Down

0 comments on commit 085a294

Please sign in to comment.