diff options
| author | Takashi Kokubun <takashikkbn@gmail.com> | 2025-08-15 09:54:45 -0700 |
|---|---|---|
| committer | Takashi Kokubun <takashikkbn@gmail.com> | 2025-08-15 10:53:58 -0700 |
| commit | 9deaf68c1a6bd45b2104b028d868d80c9a69105e (patch) | |
| tree | da3cc6a92e93efd392b32b2d1261405124dce69d | |
| parent | 0d0c051b19548eeb65417a20e52fb460e330f0ce (diff) | |
Increase timeout for a flaky test
https://github.com/ruby/ruby/actions/runs/16983250181/job/48147338699
| -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 6cc0ac672f..9f1e03e649 100644 --- a/test/ruby/test_regexp.rb +++ b/test/ruby/test_regexp.rb @@ -1990,7 +1990,7 @@ class TestRegexp < Test::Unit::TestCase end def per_instance_redos_test(global_timeout, per_instance_timeout, expected_timeout) - assert_separately([], "#{<<-"begin;"}\n#{<<-'end;'}") + assert_separately([], "#{<<-"begin;"}\n#{<<-'end;'}", timeout: 60) global_timeout = #{ EnvUtil.apply_timeout_scale(global_timeout).inspect } per_instance_timeout = #{ (per_instance_timeout ? EnvUtil.apply_timeout_scale(per_instance_timeout) : nil).inspect } expected_timeout = #{ EnvUtil.apply_timeout_scale(expected_timeout).inspect } |
