diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-06-22 10:53:03 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-06-22 10:53:03 +0000 |
commit | 38d0219ab0e12c78c41bfa9d5680b1460ad2684b (patch) | |
tree | f527a1f9df7d371fdaae79fa566fe67845db55e3 /test | |
parent | 45765e94d90d407b4190573e47d395e7c2b4a04e (diff) | |
download | ruby-38d0219ab0e12c78c41bfa9d5680b1460ad2684b.tar.gz |
show net.ipv4.tcp_wmem to debug failure on travis
https://travis-ci.org/ruby/ruby/builds/395318841
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/net/http/test_http.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/net/http/test_http.rb b/test/net/http/test_http.rb index ee9a66dfaa..191bc1ecf4 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) { conn.post('/', "a"*5_000_000) } + assert_raise(err, "experimental:sysctl: #{`sysctl net.ipv4.tcp_wmem`rescue nil}") { conn.post('/', "a"*5_000) } end assert th.join(10) } |