ruby-changes:74414
From: TSUYUSATO <ko1@a...>
Date: Wed, 9 Nov 2022 23:21:58 +0900 (JST)
Subject: [ruby-changes:74414] 0a14825f73 (master): Update timeout seconds for square test
https://git.ruby-lang.org/ruby.git/commit/?id=0a14825f73 From 0a14825f731afc468481569d332027abdd58cd4e Mon Sep 17 00:00:00 2001 From: TSUYUSATO Kitsune <make.just.on@g...> Date: Tue, 8 Nov 2022 11:58:47 +0900 Subject: Update timeout seconds for square test --- test/ruby/test_regexp.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ruby/test_regexp.rb b/test/ruby/test_regexp.rb index f11d1fb616..ee4c2cef5b 100644 --- a/test/ruby/test_regexp.rb +++ b/test/ruby/test_regexp.rb @@ -1687,7 +1687,7 @@ class TestRegexp < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_regexp.rb#L1687 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") -- cgit v1.2.3 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/