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

ruby-changes:61900

From: Takashi <ko1@a...>
Date: Tue, 23 Jun 2020 02:46:06 +0900 (JST)
Subject: [ruby-changes:61900] 574a4f0217 (master): Skip test_read_body_block_mod for --jit-wait

https://git.ruby-lang.org/ruby.git/commit/?id=574a4f0217

From 574a4f0217c77c0ee77890c5ee2fdaafcddfa6fb Mon Sep 17 00:00:00 2001
From: Takashi Kokubun <takashikkbn@g...>
Date: Mon, 22 Jun 2020 10:45:08 -0700
Subject: Skip test_read_body_block_mod for --jit-wait


diff --git a/test/net/http/test_httpresponse.rb b/test/net/http/test_httpresponse.rb
index f408195..6284144 100644
--- a/test/net/http/test_httpresponse.rb
+++ b/test/net/http/test_httpresponse.rb
@@ -77,6 +77,8 @@ EOS https://github.com/ruby/ruby/blob/trunk/test/net/http/test_httpresponse.rb#L77
   end
 
   def test_read_body_block_mod
+    # http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/3019353
+    skip 'too unstable with --jit-wait, and extending read_timeout did not help it' if RubyVM::MJIT.enabled?
     IO.pipe do |r, w|
       buf = 'x' * 1024
       buf.freeze
@@ -88,7 +90,6 @@ EOS https://github.com/ruby/ruby/blob/trunk/test/net/http/test_httpresponse.rb#L90
         :ok
       end
       io = Net::BufferedIO.new(r)
-      io.read_timeout *= 10 if RubyVM::MJIT.enabled? # for --jit-wait
       res = Net::HTTPResponse.read_new(io)
       nr = 0
       res.reading_body io, true do
-- 
cgit v0.10.2


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

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