fix hang build

This commit is contained in:
Yun Xu 2018-03-15 22:06:58 -07:00
parent b0ecb3170f
commit e0b7624414

View File

@ -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