зеркало из https://github.com/github/ruby.git
test_io.rb: skip test on MJIT to prevent random failure
like this: http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/1636642 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
4487562da1
Коммит
954d0815e9
|
@ -1500,6 +1500,7 @@ class TestIO < Test::Unit::TestCase
|
|||
end if have_nonblock?
|
||||
|
||||
def test_read_nonblock_no_exceptions
|
||||
skip '[ruby-core:90895] MJIT worker may leave fd open in a forked child' if RubyVM::MJIT.enabled? # TODO: consider acquiring GVL from MJIT worker.
|
||||
with_pipe {|r, w|
|
||||
assert_equal :wait_readable, r.read_nonblock(4096, exception: false)
|
||||
w.puts "HI!"
|
||||
|
|
Загрузка…
Ссылка в новой задаче