From 085a29436a8c472caaaf7157aa644b571079bcaa Mon Sep 17 00:00:00 2001 From: Yannick Jadoul Date: Thu, 3 Jan 2019 19:41:10 +0100 Subject: [PATCH] Increasing timeout in test_gil_scoped.py to get AppVeyor to succeed --- tests/test_gil_scoped.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_gil_scoped.py b/tests/test_gil_scoped.py index 5e702431f..2c72fc6d6 100644 --- a/tests/test_gil_scoped.py +++ b/tests/test_gil_scoped.py @@ -4,13 +4,13 @@ from pybind11_tests import gil_scoped as m 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():