diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2022-11-19 21:57:40 -0800 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2022-11-19 21:58:22 -0800 |
commit | 779917fcc0db9349bc2808150030def57ac229bf (patch) | |
tree | 511ef9351b6da5ee2442eef1e72f60eaf9587551 | |
parent | 66ac288ae2d90ab314f388b4a30b6f2cf87578e7 (diff) | |
download | ruby-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
-rw-r--r-- | test/ruby/test_regexp.rb | 2 |
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 |