[前][次][番号順一覧][スレッド一覧]

ruby-changes:51511

From: naruse <ko1@a...>
Date: Fri, 22 Jun 2018 19:53:10 +0900 (JST)
Subject: [ruby-changes:51511] naruse:r63721 (trunk): show net.ipv4.tcp_wmem to debug failure on travis

naruse	2018-06-22 19:53:03 +0900 (Fri, 22 Jun 2018)

  New Revision: 63721

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63721

  Log:
    show net.ipv4.tcp_wmem to debug failure on travis
    
    https://travis-ci.org/ruby/ruby/builds/395318841

  Modified files:
    trunk/test/net/http/test_http.rb
Index: test/net/http/test_http.rb
===================================================================
--- test/net/http/test_http.rb	(revision 63720)
+++ test/net/http/test_http.rb	(revision 63721)
@@ -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) { 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)
     }

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]