mirror of
https://github.com/ruby/ruby.git
synced 2025-08-26 14:34:39 +02:00
Relax the timeout of TestRegexp#test_cache_optimization_square
It fails on riscv (QEmu)
20221124
T000021Z.fail.html.gz
```
1) Error:
TestRegexp#test_cache_optimization_square:
Regexp::TimeoutError: regexp match timeout
/home/rubyci/chkbuild/tmp/build/20221124T000021Z/ruby/test/ruby/test_regexp.rb:1693:in `<main>'
/home/rubyci/chkbuild/tmp/build/20221124T000021Z/ruby/test/ruby/test_regexp.rb:1688:in `test_cache_optimization_square'
```
This commit is contained in:
parent
d92054e371
commit
66e5200ba4
1 changed files with 1 additions and 1 deletions
|
@ -1686,7 +1686,7 @@ class TestRegexp < Test::Unit::TestCase
|
||||||
|
|
||||||
def test_cache_optimization_square
|
def test_cache_optimization_square
|
||||||
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…
Add table
Add a link
Reference in a new issue