aboutsummaryrefslogtreecommitdiffstats
path: root/test/socket
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-29 20:00:00 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-29 20:00:00 +0000
commit9d74d402e15008c10f80e67595cc861c89a1636b (patch)
tree71d73fd903c5047f889aedb1e0cdf98d59bc8175 /test/socket
parentd7e3043463e7e138a4334b2173d6a3fbe4321e35 (diff)
downloadruby-9d74d402e15008c10f80e67595cc861c89a1636b.tar.gz
disable non-blocking pipes and sockets by default
There seems to be a compatibility problems with Rails + Rack::Deflater; so we revert this incompatibility. This effectively reverts r65922; but keeps the bugfixes to better support non-blocking sockets and pipes for future use. [Bug #15356] [Bug #14968] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/socket')
-rw-r--r--test/socket/test_basicsocket.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/socket/test_basicsocket.rb b/test/socket/test_basicsocket.rb
index 71d8fd66c1..c8e9b23f83 100644
--- a/test/socket/test_basicsocket.rb
+++ b/test/socket/test_basicsocket.rb
@@ -159,8 +159,8 @@ class TestSocket_BasicSocket < Test::Unit::TestCase
set_nb = true
buf = String.new
if ssock.respond_to?(:nonblock?)
- assert_predicate(ssock, :nonblock?)
- assert_predicate(csock, :nonblock?)
+ assert_not_predicate(ssock, :nonblock?)
+ assert_not_predicate(csock, :nonblock?)
csock.nonblock = ssock.nonblock = false
# Linux may use MSG_DONTWAIT to avoid setting O_NONBLOCK