1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

spec/ruby/library/socket/*: fix hanging on FreeBSD 11.1

There are still other test failures which need fixing on FreeBSD.
Keep an eye on:

  http://rubyci.s3.amazonaws.com/freebsd11zfs/ruby-trunk/recent.html

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
normal 2018-08-08 01:16:37 +00:00
parent 29ccaf6ea9
commit 3b8b668806
3 changed files with 6 additions and 2 deletions

View file

@ -200,6 +200,10 @@ describe 'BasicSocket#send' do
@client.send('a', Socket::MSG_OOB).should == 1
platform_is :freebsd do # recv hangs otherwise
@client.close
end
socket, _ = @server.accept
begin
socket.recv(1, Socket::MSG_OOB).should == 'a'