mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-27 17:54:39 +03:00
Increase sleep times
Want to rule this out as a cause of test failure
This commit is contained in:
parent
36d5f762a3
commit
a4fdec9005
|
@ -380,13 +380,13 @@ def test_autoport(en_vocab):
|
|||
proc1.start()
|
||||
assert proc1.is_alive(), "displaCy server didn't start"
|
||||
proc2.start()
|
||||
time.sleep(1)
|
||||
time.sleep(5)
|
||||
assert proc2.is_alive(), "Second displaCy server didn't start"
|
||||
proc1.terminate()
|
||||
proc2.terminate()
|
||||
finally:
|
||||
proc1.terminate()
|
||||
proc2.terminate()
|
||||
time.sleep(1)
|
||||
time.sleep(2)
|
||||
proc1.close()
|
||||
proc2.close()
|
||||
|
|
Loading…
Reference in New Issue
Block a user