Skip to content

Commit

Permalink
Update timeout seconds for square test
Browse files Browse the repository at this point in the history
  • Loading branch information
makenowjust authored and mame committed Nov 9, 2022
1 parent 71c76d1 commit 0a14825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ruby/test_regexp.rb
Expand Up @@ -1687,7 +1687,7 @@ def test_cache_optimization_exponential
def test_cache_optimization_square
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*b?a*$/ =~ "a" * 1000000 + "x")
Expand Down

0 comments on commit 0a14825

Please sign in to comment.