aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2022-11-27 21:48:13 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2022-11-27 21:48:32 -0800
commit880e8fd1f94c0eac213a274cb20d95674fb29f2d (patch)
treedf063ec78c742122f01ff9672274a6890f270101 /test/ruby
parenta22c684c5940210515d295684e016cd834b2b53f (diff)
downloadruby-880e8fd1f94c0eac213a274cb20d95674fb29f2d.tar.gz
Relax a too strict timeout
Regexp tests are flaky. http://rubyci.s3.amazonaws.com/s390x/ruby-master/log/20221128T050004Z.fail.html.gz
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_regexp.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_regexp.rb b/test/ruby/test_regexp.rb
index 58c6c6c992..7fc8d914b7 100644
--- a/test/ruby/test_regexp.rb
+++ b/test/ruby/test_regexp.rb
@@ -1640,7 +1640,7 @@ class TestRegexp < Test::Unit::TestCase
end
t = Time.now - t
- assert_in_delta(expected_timeout, t, expected_timeout / 2)
+ assert_in_delta(expected_timeout, t, expected_timeout * 3 / 4)
end;
end