mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
accept_loop_spec.rb: avoid random hang
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
cbff19443d
commit
33dab9cdc9
1 changed files with 6 additions and 2 deletions
|
@ -16,8 +16,12 @@ describe 'Socket.accept_loop' do
|
|||
|
||||
describe 'using an Array of Sockets' do
|
||||
describe 'without any available connections' do
|
||||
it 'blocks the caller' do
|
||||
lambda { Socket.accept_loop([@server]) }.should block_caller
|
||||
# FIXME windows randomly hangs here forever
|
||||
# https://ci.appveyor.com/project/ruby/ruby/builds/20817932/job/dor2ipny7ru4erpa
|
||||
platform_is_not :windows do
|
||||
it 'blocks the caller' do
|
||||
lambda { Socket.accept_loop([@server]) }.should block_caller
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue