From 33dab9cdc9dd9fcde94e3f85d7d287c18e4b585d Mon Sep 17 00:00:00 2001 From: k0kubun Date: Thu, 6 Dec 2018 23:26:53 +0000 Subject: accept_loop_spec.rb: avoid random hang git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- spec/ruby/library/socket/socket/accept_loop_spec.rb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'spec') diff --git a/spec/ruby/library/socket/socket/accept_loop_spec.rb b/spec/ruby/library/socket/socket/accept_loop_spec.rb index 88bd1c556c..ee11569da3 100644 --- a/spec/ruby/library/socket/socket/accept_loop_spec.rb +++ b/spec/ruby/library/socket/socket/accept_loop_spec.rb @@ -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 -- cgit v1.2.3