diff --git a/Gemfile.lock b/Gemfile.lock index c4d892522e..581d1b8f9d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -320,7 +320,7 @@ GEM mini_magick (4.10.1) mini_mime (1.0.2) mini_portile2 (2.4.0) - minitest (5.13.0) + minitest (5.14.0) minitest-bisect (1.5.1) minitest-server (~> 1.0) path_expander (~> 1.1) diff --git a/activesupport/lib/active_support/testing/parallelization.rb b/activesupport/lib/active_support/testing/parallelization.rb index 96518a4a58..48bc3abb7d 100644 --- a/activesupport/lib/active_support/testing/parallelization.rb +++ b/activesupport/lib/active_support/testing/parallelization.rb @@ -102,7 +102,7 @@ module ActiveSupport queue.record(reporter, result) rescue DRb::DRbConnError result.failures.each do |failure| - failure.exception = DRb::DRbRemoteError.new(failure.exception) + failure.send(:initialize, DRb::DRbRemoteError.new(failure.exception)) end queue.record(reporter, result) end