ensure to restart antoher thread

This commit is contained in:
Koichi Sasada 2023-12-23 05:22:52 +09:00
parent bbfc262c99
commit c974ee1abe

View File

@ -300,6 +300,8 @@ class TestMonitor < Test::Unit::TestCase
result4 = cond.wait
assert_equal(true, result4)
assert_equal("bar", c)
ensure
queue3.enq(nil)
end
end
assert_join_threads([th, th2])