Skip to content

Commit

Permalink
sleep to let thread die
Browse files Browse the repository at this point in the history
  • Loading branch information
mperham committed Oct 7, 2015
1 parent 70bd688 commit 26ac0e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/test_actors.rb
Expand Up @@ -128,6 +128,7 @@ def processor_died(inst, err)
b = $count
assert_equal a, b

sleep 0.001
assert_equal false, p.thread.status
p.terminate(true)
end
Expand Down

0 comments on commit 26ac0e9

Please sign in to comment.