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

ruby-changes:56073

From: Yusuke <ko1@a...>
Date: Tue, 11 Jun 2019 06:46:28 +0900 (JST)
Subject: [ruby-changes:56073] Yusuke Endoh: 6096baea5d (trunk): test/net/http/test_http.rb: Extend the timeout

https://git.ruby-lang.org/ruby.git/commit/?id=6096baea5d

From 6096baea5db6505206f0e636c4e5272b4eb72da4 Mon Sep 17 00:00:00 2001
From: Yusuke Endoh <mame@r...>
Date: Tue, 11 Jun 2019 06:45:49 +0900
Subject: test/net/http/test_http.rb: Extend the timeout

https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable10s/ruby-master/log/20190610T071910Z.log.html.gz

diff --git a/test/net/http/test_http.rb b/test/net/http/test_http.rb
index 2b3104f..0344ad7 100644
--- a/test/net/http/test_http.rb
+++ b/test/net/http/test_http.rb
@@ -544,7 +544,7 @@ module TestNetHTTP_version_1_1_methods https://github.com/ruby/ruby/blob/trunk/test/net/http/test_http.rb#L544
         err = !windows? ? Net::WriteTimeout : Net::ReadTimeout
         assert_raise(err) { conn.post('/', "a"*50_000_000) }
       end
-      assert th.join(10)
+      assert th.join(EnvUtil.apply_timeout_scale(10))
     }
   ensure
     th&.kill
@@ -568,7 +568,7 @@ module TestNetHTTP_version_1_1_methods https://github.com/ruby/ruby/blob/trunk/test/net/http/test_http.rb#L568
           conn.get('/')
         }
       end
-      assert th.join(10), bug4246
+      assert th.join(EnvUtil.apply_timeout_scale(10)), bug4246
     }
   ensure
     th.kill
-- 
cgit v0.10.2


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

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