ruby-changes:51512
From: naruse <ko1@a...>
Date: Fri, 22 Jun 2018 20:11:02 +0900 (JST)
Subject: [ruby-changes:51512] naruse:r63722 (trunk): check net.core.wmem_default and max instead of tcp
naruse 2018-06-22 20:10:56 +0900 (Fri, 22 Jun 2018) New Revision: 63722 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63722 Log: check net.core.wmem_default and max instead of tcp https://travis-ci.org/ruby/ruby/jobs/395416137 Modified files: trunk/test/net/http/test_http.rb Index: test/net/http/test_http.rb =================================================================== --- test/net/http/test_http.rb (revision 63721) +++ test/net/http/test_http.rb (revision 63722) @@ -542,7 +542,7 @@ module TestNetHTTP_version_1_1_methods https://github.com/ruby/ruby/blob/trunk/test/net/http/test_http.rb#L542 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) } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/