From 84837e6d16cb0e588b1acc2691cb1048b9a89989 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sun, 30 Jun 2019 09:33:24 +0900 Subject: [PATCH] Wait for the helper thread to terminate --- test/ruby/test_signal.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/ruby/test_signal.rb b/test/ruby/test_signal.rb index 1929805858..48cb60cb77 100644 --- a/test/ruby/test_signal.rb +++ b/test/ruby/test_signal.rb @@ -340,6 +340,7 @@ class TestSignal < Test::Unit::TestCase w.close end assert_raise(Errno::ECHILD) { Process.wait(pid) } + th.join assert_nil nb end