From 85db5be3589433ff7af865defbad96eff73b3235 Mon Sep 17 00:00:00 2001 From: John Hawthorn Date: Thu, 18 Aug 2022 09:47:50 -0700 Subject: [PATCH] Fix "unmarshalable" test for minitest 5.16.3 --- Gemfile.lock | 2 +- railties/test/application/test_runner_test.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index e1269a2e620..a3d83f0180e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -319,7 +319,7 @@ GEM mini_magick (4.11.0) mini_mime (1.1.2) mini_portile2 (2.8.0) - minitest (5.16.1) + minitest (5.16.3) minitest-bisect (1.5.1) minitest-server (~> 1.0) path_expander (~> 1.1) diff --git a/railties/test/application/test_runner_test.rb b/railties/test/application/test_runner_test.rb index 77d1a134b5f..179ad3876af 100644 --- a/railties/test/application/test_runner_test.rb +++ b/railties/test/application/test_runner_test.rb @@ -740,7 +740,7 @@ module ApplicationTests assert_no_match "create_table(:users)", output end - def test_run_in_parallel_with_unmarshable_exception + def test_run_in_parallel_with_unmarshalable_exception exercise_parallelization_regardless_of_machine_core_count(with: :processes) file = app_file "test/fail_test.rb", <<-RUBY @@ -762,7 +762,7 @@ module ApplicationTests output = run_test_command(file) - assert_match(/RuntimeError: (Wrapped undumpable exception|result not reported)/, output) + assert_match(/RuntimeError: (Wrapped undumpable exception|result not reported|Neutered Exception)/, output) assert_match "1 runs, 0 assertions, 0 failures, 1 errors", output end