We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ca6867 commit 085a294Copy full SHA for 085a294
tests/test_gil_scoped.py
@@ -4,13 +4,13 @@
4
5
6
def _run_in_process(target, *args, **kwargs):
7
- """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)."""
8
process = multiprocessing.Process(target=target, args=args, kwargs=kwargs)
9
process.daemon = True
10
try:
11
process.start()
12
- # Do not need to wait much, 1s should be more than enough.
13
- process.join(timeout=1)
+ # Do not need to wait much, 10s should be more than enough.
+ process.join(timeout=10)
14
return process.exitcode
15
finally:
16
if process.is_alive():
0 commit comments