diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-06-28 14:51:23 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-06-28 14:54:00 +0900 |
commit | c52dad0ecf0b8d87afb570d7dde508fe78d145d4 (patch) | |
tree | b5debab0984e17d4dda628d6ebc0bb0d130c1c7d /test/monitor | |
parent | 023360ee4b1954a54b4d87d21cfc0eb5d662d5c5 (diff) | |
download | ruby-c52dad0ecf0b8d87afb570d7dde508fe78d145d4.tar.gz |
Wait for the helper thread to terminate
Diffstat (limited to 'test/monitor')
-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 8854b59ccc..9d07bf75f7 100644 --- a/test/monitor/test_monitor.rb +++ b/test/monitor/test_monitor.rb @@ -172,6 +172,8 @@ class TestMonitor < Test::Unit::TestCase assert @monitor.mon_locked? assert @monitor.mon_owned? end + ensure + th.join end def test_cond |