mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
eb0e81fc8f
commit
2f5897e6b6
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue