1
0
Fork 0
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:
k0kubun 2018-12-06 23:26:53 +00:00
parent cbff19443d
commit 33dab9cdc9

View file

@ -16,8 +16,12 @@ describe 'Socket.accept_loop' do
describe 'using an Array of Sockets' do describe 'using an Array of Sockets' do
describe 'without any available connections' do describe 'without any available connections' do
it 'blocks the caller' do # FIXME windows randomly hangs here forever
lambda { Socket.accept_loop([@server]) }.should block_caller # 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
end end