From 70f468562c82141b1b28af4ca3b1ea812815917b Mon Sep 17 00:00:00 2001 From: MSP-Greg Date: Sun, 13 Sep 2020 22:58:02 -0500 Subject: [PATCH] test/helper.rb -TimeoutEveryTestCase - set all timeouts to 45 sec --- test/helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/helper.rb b/test/helper.rb index f02199558a..9ebac928dc 100644 --- a/test/helper.rb +++ b/test/helper.rb @@ -65,7 +65,7 @@ def run before_setup; setup; after_setup # wrap timeout around test method only - ::Timeout.timeout(RUBY_ENGINE == 'ruby' ? 60 : 120, TestTookTooLong) { + ::Timeout.timeout(RUBY_ENGINE == 'ruby' ? 45 : 45, TestTookTooLong) { self.send self.name } end @@ -73,7 +73,7 @@ def run Minitest::Test::TEARDOWN_METHODS.each do |hook| capture_exceptions do # wrap timeout around teardown methods, remove when they're stable - ::Timeout.timeout(RUBY_ENGINE == 'ruby' ? 60 : 120, TestTookTooLong) { + ::Timeout.timeout(RUBY_ENGINE == 'ruby' ? 45 : 45, TestTookTooLong) { self.send hook } end