ruby-changes:54674
From: k0kubun <ko1@a...>
Date: Mon, 21 Jan 2019 10:12:02 +0900 (JST)
Subject: [ruby-changes:54674] k0kubun:r66890 (trunk): test_io.rb: skip test on MJIT to prevent random failure
k0kubun 2019-01-21 10:11:57 +0900 (Mon, 21 Jan 2019) New Revision: 66890 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66890 Log: test_io.rb: skip test on MJIT to prevent random failure like this: http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/1636642 Modified files: trunk/test/ruby/test_io.rb Index: test/ruby/test_io.rb =================================================================== --- test/ruby/test_io.rb (revision 66889) +++ test/ruby/test_io.rb (revision 66890) @@ -1500,6 +1500,7 @@ class TestIO < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_io.rb#L1500 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!" -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/