-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Two railties tests against ruby 3.0.0dev raise conflicting chdir during another chdir block
errors
#40756
Comments
We may need something like ae5ecfe26c8 . I'm not familiar with railties tests then just created an issue for now. |
This isn't just a problem in the test suite: |
Thanks for the useful information, as always. |
Several weeks ago, I proposed an escape mechanism to handle this in the original Ruby issue. I also submitted ruby/rake#365 to potentially eliminate blockless |
This PR should fix this problem. ruby/ruby#3861 |
I have confirmed this issue has been addressed using the latest $ ruby -v
ruby 3.0.0dev (2020-12-24T07:22:50Z master b343d54792) [x86_64-linux]
$ bin/test test/generators/action_mailbox_install_generator_test.rb
Run options: --seed 3587
# Running:
...
Finished in 0.398850s, 7.5216 runs/s, 25.0721 assertions/s.
3 runs, 10 assertions, 0 failures, 0 errors, 0 skips
$ bin/test test/generators/action_text_install_generator_test.rb
Run options: --seed 44586
# Running:
.......
Finished in 1.231365s, 5.6847 runs/s, 14.6179 assertions/s.
7 runs, 18 assertions, 0 failures, 0 errors, 0 skips
$ |
Two railties tests against ruby 3.0.0dev raise
conflicting chdir during another chdir block
errors. I think this is the expected behavior of Ruby 3.https://bugs.ruby-lang.org/issues/15661
ruby/ruby@5d7953f
Steps to reproduce
Expected behavior
Both tests should pass.
Actual behavior
System configuration
Rails version:master branch
Ruby version:ruby 3.0.0dev (2020-12-06T23:28:36Z master bef3eb5440) [x86_64-linux]
Related pull requests:
#40069
#40740
#40673
The text was updated successfully, but these errors were encountered: