TestRegexp#test_match_cache_positive_look_behind: Extend the timeout limit
This commit is contained in:
parent
36b3fea0ff
commit
239378613b
@ -1929,7 +1929,7 @@ class TestRegexp < Test::Unit::TestCase
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_match_cache_positive_look_ahead
|
def test_match_cache_positive_look_ahead
|
||||||
assert_separately([], "#{<<-"begin;"}\n#{<<-'end;'}")
|
assert_separately([], "#{<<-"begin;"}\n#{<<-'end;'}", timeout: 30)
|
||||||
timeout = #{ EnvUtil.apply_timeout_scale(10).inspect }
|
timeout = #{ EnvUtil.apply_timeout_scale(10).inspect }
|
||||||
begin;
|
begin;
|
||||||
Regexp.timeout = timeout
|
Regexp.timeout = timeout
|
||||||
|
Loading…
x
Reference in New Issue
Block a user