Skip to content

Commit

Permalink
ensure to restart antoher thread
Browse files Browse the repository at this point in the history
  • Loading branch information
ko1 committed Dec 22, 2023
1 parent bbfc262 commit c974ee1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/monitor/test_monitor.rb
Expand Up @@ -300,6 +300,8 @@ def test_timedwait
result4 = cond.wait
assert_equal(true, result4)
assert_equal("bar", c)
ensure
queue3.enq(nil)
end
end
assert_join_threads([th, th2])
Expand Down

0 comments on commit c974ee1

Please sign in to comment.