Skip to content
Browse files

give children some time to be dead

  • Loading branch information...
1 parent d3d8b11 commit 47842fa507a420ec7d5327993cbec454362bf1eb @hongqn hongqn committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 tests/test_caoe.py
View
1 tests/test_caoe.py
@@ -65,6 +65,7 @@ def test_all_child_processes_should_be_killed_if_parent_is_killed():
p.join()
cpids = [int(x.split('-')[1]) for x in os.listdir(tmpdir) if x.startswith('child-')]
eq_(len(cpids), 3)
+ time.sleep(1) # wait for killing children
ok_(all(not is_process_alive(pid) for pid in cpids))

0 comments on commit 47842fa

Please sign in to comment.
Something went wrong with that request. Please try again.