From 2f5897e6b67d78d65c1aa3c9c16c0dfb65c38416 Mon Sep 17 00:00:00 2001 From: usa Date: Wed, 22 Jul 2015 09:04:57 +0000 Subject: [PATCH] * test/webrick/test_utils.rb (TestWEBrickUtils#test_nested_timeout_outer): seems to be too short for mswin CI. fixed occasional failure introduced at r51235. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/webrick/test_utils.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/webrick/test_utils.rb b/test/webrick/test_utils.rb index 1b154db040..fc68124e44 100644 --- a/test/webrick/test_utils.rb +++ b/test/webrick/test_utils.rb @@ -26,8 +26,8 @@ class TestWEBrickUtils < Test::Unit::TestCase m = WEBrick::Utils i = 0 assert_raise(Timeout::Error){ - m.timeout(0.02){ - assert_raise(Timeout::Error){ m.timeout(0.01){ i += 1; sleep } } + m.timeout(0.2){ + assert_raise(Timeout::Error){ m.timeout(0.1){ i += 1; sleep } } assert_not_expired(m) i += 1 sleep