1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

sleep to let thread die

This commit is contained in:
Mike Perham 2015-10-07 09:05:23 -07:00
parent 70bd688059
commit 26ac0e90e0

View file

@ -128,6 +128,7 @@ class TestActors < Sidekiq::Test
b = $count
assert_equal a, b
sleep 0.001
assert_equal false, p.thread.status
p.terminate(true)
end