diff options
author | Yusuke Endoh <[email protected]> | 2022-11-24 15:11:55 +0900 |
---|---|---|
committer | Yusuke Endoh <[email protected]> | 2022-11-24 15:13:00 +0900 |
commit | 66e5200ba435361624caa3e23db7962d906b70db (patch) | |
tree | 1a0b43bffbc3fd87562f253c8dea84bd4d9536eb /test/ruby/test_regexp.rb | |
parent | d92054e3711ca5dd336b753c238f4e53a9881157 (diff) |
Relax the timeout of TestRegexp#test_cache_optimization_square
It fails on riscv (QEmu)
http://rubyci.s3.amazonaws.com/debian-riscv64/ruby-master/log/20221124T000021Z.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'
```
Diffstat (limited to 'test/ruby/test_regexp.rb')
-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 abcc564eea..58c6c6c992 100644 --- a/test/ruby/test_regexp.rb +++ b/test/ruby/test_regexp.rb @@ -1686,7 +1686,7 @@ class TestRegexp < Test::Unit::TestCase def test_cache_optimization_square assert_separately([], "#{<<-"begin;"}\n#{<<-'end;'}") - timeout = #{ EnvUtil.apply_timeout_scale(2).inspect } + timeout = #{ EnvUtil.apply_timeout_scale(10).inspect } begin; Regexp.timeout = timeout |