aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_regexp.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2022-11-19 21:57:40 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2022-11-19 21:58:22 -0800
commit779917fcc0db9349bc2808150030def57ac229bf (patch)
tree511ef9351b6da5ee2442eef1e72f60eaf9587551 /test/ruby/test_regexp.rb
parent66ac288ae2d90ab314f388b4a30b6f2cf87578e7 (diff)
downloadruby-779917fcc0db9349bc2808150030def57ac229bf.tar.gz
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
Diffstat (limited to 'test/ruby/test_regexp.rb')
-rw-r--r--test/ruby/test_regexp.rb2
1 files changed, 1 insertions, 1 deletions
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