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

ruby-changes:51539

From: naruse <ko1@a...>
Date: Mon, 25 Jun 2018 21:11:39 +0900 (JST)
Subject: [ruby-changes:51539] naruse:r63749 (trunk): increase body size

naruse	2018-06-25 21:11:31 +0900 (Mon, 25 Jun 2018)

  New Revision: 63749

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

  Log:
    increase body size
    
    To try to block writing on travis.

  Modified files:
    trunk/test/net/http/test_http.rb
Index: test/net/http/test_http.rb
===================================================================
--- test/net/http/test_http.rb	(revision 63748)
+++ test/net/http/test_http.rb	(revision 63749)
@@ -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) { conn.post('/', "a"*50_000_000) }
       end
       assert th.join(10)
     }

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

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