summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/ruby/test_refinement.rb2
-rw-r--r--test/testunit/test_parallel.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_refinement.rb b/test/ruby/test_refinement.rb
index 06150d998f2..5c06266d6e4 100644
--- a/test/ruby/test_refinement.rb
+++ b/test/ruby/test_refinement.rb
@@ -878,7 +878,7 @@ class TestRefinement < Test::Unit::TestCase
#{PrependAfterRefine_CODE}
undef PrependAfterRefine
}
- }
+ }, timeout: 30
end
def test_prepend_after_refine
diff --git a/test/testunit/test_parallel.rb b/test/testunit/test_parallel.rb
index 2e5ad86733d..6bbe71a7493 100644
--- a/test/testunit/test_parallel.rb
+++ b/test/testunit/test_parallel.rb
@@ -6,7 +6,7 @@ module TestParallel
PARALLEL_RB = "#{File.dirname(__FILE__)}/../lib/test/unit/parallel.rb"
TESTS = "#{File.dirname(__FILE__)}/tests_for_parallel"
# use large timeout for --jit-wait
- TIMEOUT = EnvUtil.apply_timeout_scale(RubyVM::MJIT.enabled? ? 100 : 10)
+ TIMEOUT = EnvUtil.apply_timeout_scale(RubyVM::MJIT.enabled? ? 100 : 30)
class TestParallelWorker < Test::Unit::TestCase
def setup