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
This commit is contained in:
parent
66ac288ae2
commit
779917fcc0
@ -1676,7 +1676,7 @@ class TestRegexp < Test::Unit::TestCase
|
|||||||
|
|
||||||
def test_cache_optimization_exponential
|
def test_cache_optimization_exponential
|
||||||
assert_separately([], "#{<<-"begin;"}\n#{<<-'end;'}")
|
assert_separately([], "#{<<-"begin;"}\n#{<<-'end;'}")
|
||||||
timeout = #{ EnvUtil.apply_timeout_scale(2).inspect }
|
timeout = #{ EnvUtil.apply_timeout_scale(10).inspect }
|
||||||
begin;
|
begin;
|
||||||
Regexp.timeout = timeout
|
Regexp.timeout = timeout
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user