diff options
author | Koichi Sasada <ko1@atdot.net> | 2023-12-23 05:22:52 +0900 |
---|---|---|
committer | Koichi Sasada <ko1@atdot.net> | 2023-12-23 05:56:02 +0900 |
commit | c974ee1abe5df5a4bb97264e608afbd134c77652 (patch) | |
tree | b03596f2f7fa1e357d72c937b7e76c52581c06ce /test/monitor/test_monitor.rb | |
parent | bbfc262c994f84801abfb1302cf6142dfee50adf (diff) |
ensure to restart antoher thread
Diffstat (limited to 'test/monitor/test_monitor.rb')
-rw-r--r-- | test/monitor/test_monitor.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/monitor/test_monitor.rb b/test/monitor/test_monitor.rb index 8ff6d006df..4c55afca6c 100644 --- a/test/monitor/test_monitor.rb +++ b/test/monitor/test_monitor.rb @@ -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]) |