From 779917fcc0db9349bc2808150030def57ac229bf Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Sat, 19 Nov 2022 21:57:40 -0800 Subject: [PATCH] Avoid a timeout on test_cache_optimization_exponential The timeout seems too short for some CIs. http://rubyci.s3.amazonaws.com/debian11-aarch64/ruby-master/log/20221120T012840Z.fail.html.gz --- test/ruby/test_regexp.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ruby/test_regexp.rb b/test/ruby/test_regexp.rb index 3479a9f212..abcc564eea 100644 --- a/test/ruby/test_regexp.rb +++ b/test/ruby/test_regexp.rb @@ -1676,7 +1676,7 @@ class TestRegexp < Test::Unit::TestCase def test_cache_optimization_exponential assert_separately([], "#{<<-"begin;"}\n#{<<-'end;'}") - timeout = #{ EnvUtil.apply_timeout_scale(2).inspect } + timeout = #{ EnvUtil.apply_timeout_scale(10).inspect } begin; Regexp.timeout = timeout