diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2020-06-22 10:45:08 -0700 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2020-06-22 10:45:39 -0700 |
commit | 574a4f0217c77c0ee77890c5ee2fdaafcddfa6fb (patch) | |
tree | 95aae087c8ee6cc4130ffb78c21b2a94968c4bb5 | |
parent | 079ed74d690f1efadd64138983ef2fb9ffbd1aff (diff) | |
download | ruby-574a4f0217c77c0ee77890c5ee2fdaafcddfa6fb.tar.gz |
Skip test_read_body_block_mod for --jit-wait
-rw-r--r-- | test/net/http/test_httpresponse.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/net/http/test_httpresponse.rb b/test/net/http/test_httpresponse.rb index f408195771..628414493c 100644 --- a/test/net/http/test_httpresponse.rb +++ b/test/net/http/test_httpresponse.rb @@ -77,6 +77,8 @@ EOS 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 :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 |