summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/monitor/test_monitor.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/monitor/test_monitor.rb b/test/monitor/test_monitor.rb
index 1d70222b44d..8bd15ff55a8 100644
--- a/test/monitor/test_monitor.rb
+++ b/test/monitor/test_monitor.rb
@@ -78,6 +78,9 @@ class TestMonitor < Test::Unit::TestCase
ary << :main
end
assert_equal([:main], ary)
+ ensure
+ t1.join
+ t2.join
end
def test_try_enter