summaryrefslogtreecommitdiff
path: root/test/net
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-22 11:10:56 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-22 11:10:56 +0000
commitfab030c2c1a3acbfc97e8e0c0c4e903b8debcb7f (patch)
treed3b05e731306fc9edee298dbd6bcf6b4fd1b8f8e /test/net
parent38d0219ab0e12c78c41bfa9d5680b1460ad2684b (diff)
check net.core.wmem_default and max instead of tcp
https://travis-ci.org/ruby/ruby/jobs/395416137 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/net')
-rw-r--r--test/net/http/test_http.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/net/http/test_http.rb b/test/net/http/test_http.rb
index 191bc1ecf4..2eecf70fd2 100644
--- a/test/net/http/test_http.rb
+++ b/test/net/http/test_http.rb
@@ -542,7 +542,7 @@ module TestNetHTTP_version_1_1_methods
th = Thread.new do
err = !windows? ? Net::WriteTimeout : Net::ReadTimeout
- assert_raise(err, "experimental:sysctl: #{`sysctl net.ipv4.tcp_wmem`rescue nil}") { conn.post('/', "a"*5_000) }
+ assert_raise(err, "experimental:sysctl: #{`sysctl net.core.wmem_default`rescue nil} #{`sysctl net.core.wmem_max`rescue nil}") { conn.post('/', "a"*5_000) }
end
assert th.join(10)
}