-
-
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] Intermittent Array error when running activemodel tests #3822
Comments
Thanks for the report! |
It looks like this uses minitest/parallel, which ends up spawning 2 threads by default. |
Assigning to @pitr-ch since we will run tests in single-thread mode for now to make them more deterministic. I think we can close this issue once that is done, as the error should not appear anymore. |
Just a quick note, Rails expects its boot process to be run single-threadedly, don't know what is happening here...
|
fixed in 49e97eb @thedarkone yeah but this is not a rails boot process but lazy loading parts of a ActiveModel Yes, it does. |
Making sure we're on the same page: even with all the outstanding jruby-truffle thread-safety issues fixed, you still wouldn't be allowed to parallel load any part of Rails (including |
After autoload is fixed then it should be ok, assuming that other ruby code is not also touching |
Environment
Expected Behavior
The tests complete.
Actual Behavior
From the activemodel directory run:
jruby+truffle run --require-pattern 'test/**/**/railtie_test.rb' -r exclude_tests -- -I test -e 'nil'
Results in the following error occasionally:
The text was updated successfully, but these errors were encountered: