Skip to content

Commit

Permalink
Update timeout seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
makenowjust authored and mame committed Nov 9, 2022
1 parent 80d145f commit 71c76d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ruby/test_regexp.rb
Expand Up @@ -1677,7 +1677,7 @@ def test_timeout_corner_cases
def test_cache_optimization_exponential
assert_separately([], "#{<<-"begin;"}\n#{<<-'end;'}")
begin;
timeout = EnvUtil.apply_timeout_scale(0.2)
timeout = EnvUtil.apply_timeout_scale(2)
Regexp.timeout = timeout
assert_nil(/^(a*)*$/ =~ "a" * 1000000 + "x")
Expand Down

0 comments on commit 71c76d1

Please sign in to comment.