Skip to content
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

Fallback to spawn instead of fork in jruby #36111

Merged
merged 2 commits into from Apr 26, 2019

Conversation

itsWill
Copy link
Contributor

@itsWill itsWill commented Apr 26, 2019

Summary

This commit: b342db6 introduced a fork fork when running the railties
tests since this is not supported in jruby we fallback to using spawn.
Fixes: #35900

This commit: b342db6 introduced a `fork` fork when running the railties
tests since this is not supported in jruby we fallback to using spawn.
Fixes: rails#35900
@rails-bot rails-bot bot added the railties label Apr 26, 2019
railties/Rakefile Outdated Show resolved Hide resolved
@rafaelfranca
Copy link
Member

Can you squash the commits?

@enebo
Copy link

enebo commented Apr 26, 2019

@itsWill This looks fantastic and the fork respondTo is definitely the best way.

@guilleiguaran guilleiguaran merged commit dbcaf9d into rails:master Apr 26, 2019
@deepj
Copy link
Contributor

deepj commented Apr 26, 2019

@guilleiguaran is it possible to merge this into 6.0-stable branch as well, please? I’m trying to report all possible issues with Rails 6.0 in TruffleRuby.

guilleiguaran pushed a commit that referenced this pull request Apr 26, 2019
* Fallback to spawn instead of fork in jruby

This commit: b342db6 introduced a `fork` fork when running the railties
tests since this is not supported in jruby we fallback to using spawn.
Fixes: #35900
@guilleiguaran
Copy link
Member

I've backported this to 6-0-stable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JRuby/TruffleRuby cannot run railties tests because of use of fork()
6 participants