-
-
Notifications
You must be signed in to change notification settings - Fork 925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Truffle] NPE when running multiple tests #2835
Comments
This looks like a stack overflow or another rather bad error. |
@eregon I'm currently running this whole patch except for the waitall change: https://gist.github.com/bjfish/1be84623da4a746f4d16 I also see a stack overflow happening in a test_array.rb but wanted to clarify that that this error happens within a test_array test and the test process should continue to run all the test arguments. I think the real error here that is preventing the next test from running is the opt parse error above because the stackoverflow error happens while running test_array alone and the test process is not aborted before reporting results. The opt parse error also occurs with other types of errors occurring in other tests if multiple test arguments are given. |
I'm starting to think this should fail and might want to close this as not an issue. After arbitrarily adding jruby
Truffle
|
Yeah, I think in general test/unit is far less resilient to errors than MSpec and might not protect file loading at all. However, a failure inside a test case should definitely just fail that test case. |
Beware that stack overflow exceptions have a tendency to corrupt the heap and produce plain garbage afterwards. |
Does this still happen? |
@eregon Yes but this looks like it is just a difference in the way the exceptions are being shown so probably not a high priority issue. |
Our output matches MRI in this case (with a one line difference), so I'll close this. |
Failures inside of MRI tests are causing subsequent tests not to run.
The following single test command completes (but with test failures)
jt test mri ruby/test_array.rb
.However, when failures occur with multiple tests the process quits in the middle of the tests with the error:
jt test mri ruby/test_array.rb ruby/test_integer.rb
The text was updated successfully, but these errors were encountered: