Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Errno::EBADF: Bad file descriptor - on consistently half the test runs #1817

Open
mkristian opened this Issue · 0 comments

1 participant

@mkristian
Collaborator

just want to share a test case which fails 50%-75% percent of test runs with Errno::EBADF: Bad file descriptor. on jruby-9000.dev the error since today is (IOError) closed stream which is about the same as I was able to debug with jruby-1.7.x where it happens that the underlying java.io.Channel is closed.

to reproduce it:

git clone https://github.com/mkristian/jar-dependencies
cd jar-dependencies
mvn test

which runs the same test for jruby-1.6.8, jruby-1.7.13 and jruby-9000.dev
the test which causes the problem is
https://github.com/mkristian/jar-dependencies/blob/master/specs/jar_installer_spec.rb#L86

it actually execute "Maven" and maybe I am just expecting TOO much. but since I did see all the tests to pass before, it can not be all too wrong.

to run a subset of the test use
mvn test -Djruby.versions=1.7.13
or more jrubies
mvn test -Djruby.versions=1.7.12,1.7.13,1.7.4,1.7.14-SNAPSHOT -Djruby.modes=1.9

on travis I removed that particular test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.