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,10 +16,14 @@ describe 'Socket.accept_loop' do
describe 'using an Array of Sockets' do
describe 'without any available connections' do
# 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
describe 'with available connections' do
before do