From 5f84f379446d0b239cfa06184ed72c5f0ab15aab Mon Sep 17 00:00:00 2001 From: Nate Berkopec Date: Sun, 18 Aug 2019 08:12:47 +0000 Subject: [PATCH] Remove unnecessary calls to abort_on_exception --- test/test_cli.rb | 5 ----- test/test_pumactl.rb | 1 - test/test_rack_handler.rb | 1 - tools/trickletest.rb | 1 - 4 files changed, 8 deletions(-) diff --git a/test/test_cli.rb b/test/test_cli.rb index f372799a..2e0ef4d4 100644 --- a/test/test_cli.rb +++ b/test/test_cli.rb @@ -51,7 +51,6 @@ class TestCLI < Minitest::Test "test/rackup/lobster.ru"], @events t = Thread.new do - Thread.current.abort_on_exception = true cli.run end @@ -83,7 +82,6 @@ class TestCLI < Minitest::Test "test/rackup/lobster.ru"], @events t = Thread.new { cli.run } - t.abort_on_exception = true wait_booted @@ -117,7 +115,6 @@ class TestCLI < Minitest::Test "test/rackup/lobster.ru"], @events t = Thread.new { cli.run } - t.abort_on_exception = true wait_booted @@ -141,7 +138,6 @@ class TestCLI < Minitest::Test "test/rackup/lobster.ru"], @events t = Thread.new { cli.run } - t.abort_on_exception = true wait_booted @@ -161,7 +157,6 @@ class TestCLI < Minitest::Test "test/rackup/lobster.ru"], @events t = Thread.new do - Thread.current.abort_on_exception = true cli.run end diff --git a/test/test_pumactl.rb b/test/test_pumactl.rb index 01f35d5e..5a07bd02 100644 --- a/test/test_pumactl.rb +++ b/test/test_pumactl.rb @@ -83,7 +83,6 @@ class TestPumaControlCli < Minitest::Test control_cli = Puma::ControlCLI.new (opts + ["start"]), @ready, @ready t = Thread.new do - Thread.current.abort_on_exception = true control_cli.run end diff --git a/test/test_rack_handler.rb b/test/test_rack_handler.rb index 3f3a6987..81790804 100644 --- a/test/test_rack_handler.rb +++ b/test/test_rack_handler.rb @@ -30,7 +30,6 @@ class TestPathHandler < Minitest::Test @launcher = s end end - thread.abort_on_exception = true # Wait for launcher to boot Timeout.timeout(10) do diff --git a/tools/trickletest.rb b/tools/trickletest.rb index 11da57a6..fa543806 100644 --- a/tools/trickletest.rb +++ b/tools/trickletest.rb @@ -38,7 +38,6 @@ ARGV[1].to_i.times do do_test(st, size) end - t.abort_on_exception = true threads << t end