summaryrefslogtreecommitdiff
path: root/spec/ruby/core/io/reopen_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/io/reopen_spec.rb')
-rw-r--r--spec/ruby/core/io/reopen_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/ruby/core/io/reopen_spec.rb b/spec/ruby/core/io/reopen_spec.rb
index 60dda72689..e769991554 100644
--- a/spec/ruby/core/io/reopen_spec.rb
+++ b/spec/ruby/core/io/reopen_spec.rb
@@ -145,9 +145,9 @@ describe "IO#reopen with a String" do
File.read(@other_name).should == "new data"
end
- # http://ci.rvm.jp/results/trunk-mjit@silicon-docker/1461550
- # http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/1448152
- without_feature :mjit do # with RubyVM::MJIT.enabled?, this randomly fails for now
+ # File descriptor numbers are not predictable in multi-threaded code;
+ # MJIT will be opening/closing files the background
+ without_feature :mjit do
it "closes the file descriptor obtained by opening the new file" do
@io = new_io @name, "w"