diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-08-20 20:45:40 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-08-20 20:45:40 +0000 |
commit | ce48b55805873ad3913be832e919e3ebe8b8f7a3 (patch) | |
tree | 4920359e34db87ab37f42a3547806a6324a066fb /test | |
parent | 12f624b673fd1bd1782f4c52e3b6c78d033e7b84 (diff) |
test/socket/test_socket.rb (timestamp_retry_rw): IO.select before recvmsg
CI failures are still happening from these tests, but try
to break out of it earlier instead of holding up the job.
[Bug #14898]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/socket/test_socket.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/socket/test_socket.rb b/test/socket/test_socket.rb index 7f7ac90358..e07c1d633f 100644 --- a/test/socket/test_socket.rb +++ b/test/socket/test_socket.rb @@ -467,6 +467,7 @@ class TestSocket < Test::Unit::TestCase end while IO.select([r], nil, nil, 0.1).nil? n end + assert_equal([[s1],[],[]], IO.select([s1], nil, nil, 30)) msg, _, _, stamp = s1.recvmsg assert_equal("a", msg) assert(stamp.cmsg_is?(:SOCKET, type)) |