-
Notifications
You must be signed in to change notification settings - Fork 187
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
Bad file descriptor (Errno::EBADF) - individual tests #6275
Comments
Couldn't reproduce this with current Whitehall. All the tests in In case it's useful, here's my (unsuccessful) attempt to reproduce the issue (on my macOS 13.4.1 x86_64 laptop): rbenv install
bundle install
brew services start mysql
brew services start redis
export TEST_DATABASE_URL=mysql2://localhost:3306/whitehall
export DATABASE_URL=$TEST_DATABASE_URL
bundle exec rails db:reset
for f in test/functional/*.rb; do
bundle exec ruby -I test $f
end Example output
|
Oh wait, I managed to get it happen by running the whole suite. bundle exec rake test
Interestingly this doesn't seem to be happening in CI 🧐 |
What
Error running individual tests
ruby -I test test/functional/[file].rb
Anything else
Similar issue: rails/rails#41176
The text was updated successfully, but these errors were encountered: