-
-
Notifications
You must be signed in to change notification settings - Fork 942
Open
Description
Another sporadic failure that may or may not only be happening on JDK 11 or higher:
org/jruby/RubyKernel.java:1258:in `catch'
org/jruby/RubyKernel.java:1263:in `catch'
org/jruby/RubyKernel.java:1258:in `catch'
org/jruby/RubyKernel.java:1263:in `catch'
54: f = File.open(@file)
55: @to_close << g = IO.new(f.fileno)
56: f.close
=> 57: assert_raises(Errno::EBADF) { g.readchar }
58: assert_raises(Errno::EBADF) { g.readline }
59: assert_raises(Errno::EBADF) { g.gets }
60: assert_raises(Errno::EBADF) { g.close }
/home/travis/build/jruby/jruby/test/jruby/test_io.rb:57:in `test_premature_close_raises_appropriate_errors'
<Errno::EBADF> expected but was
<EOFError(<End of file reached>)>
diff:
? Err n o::EBADF
? EOF or(<E d f file reached>)
Failure: test_premature_close_raises_appropriate_errors(TestIO)
Example failing build: https://travis-ci.org/github/jruby/jruby/jobs/722496573#L1123
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels