From e0b7624414b77f71389f865e9d5d04d3a1a993e5 Mon Sep 17 00:00:00 2001 From: Yun Xu Date: Thu, 15 Mar 2018 22:06:58 -0700 Subject: [PATCH] fix hang build --- tests/test_multiprocessing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_multiprocessing.py b/tests/test_multiprocessing.py index 8becfab1..7d94a972 100644 --- a/tests/test_multiprocessing.py +++ b/tests/test_multiprocessing.py @@ -19,7 +19,7 @@ def test_multiprocessing(): process.terminate() signal.signal(signal.SIGALRM, stop_on_alarm) + signal.alarm(3) app.run(HOST, PORT, workers=num_workers) - signal.alarm(1) assert len(process_list) == num_workers