ruby-changes:54045
From: k0kubun <ko1@a...>
Date: Fri, 7 Dec 2018 08:26:59 +0900 (JST)
Subject: [ruby-changes:54045] k0kubun:r66264 (trunk): accept_loop_spec.rb: avoid random hang
k0kubun 2018-12-07 08:26:53 +0900 (Fri, 07 Dec 2018) New Revision: 66264 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66264 Log: accept_loop_spec.rb: avoid random hang Modified files: trunk/spec/ruby/library/socket/socket/accept_loop_spec.rb Index: spec/ruby/library/socket/socket/accept_loop_spec.rb =================================================================== --- spec/ruby/library/socket/socket/accept_loop_spec.rb (revision 66263) +++ spec/ruby/library/socket/socket/accept_loop_spec.rb (revision 66264) @@ -16,8 +16,12 @@ describe 'Socket.accept_loop' do https://github.com/ruby/ruby/blob/trunk/spec/ruby/library/socket/socket/accept_loop_spec.rb#L16 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/