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

Fix ActiveStorage intermittent test #42226

Merged
merged 1 commit into from
May 14, 2021

Conversation

santib
Copy link
Contributor

@santib santib commented May 14, 2021

The main branch is failing https://buildkite.com/rails/rails/builds/77422 since #42224 was merged. The problem is that the test needs to use the ActiveStorage::Attachment id not the ActiveStorage::Blob id.

The intermittency is there because sometimes the id of both match. In order to consistently reproduce the failure (before this PR) you can run: bundle exec rake TESTOPTS="--seed=26565"

cc: @eileencodes

@eileencodes eileencodes merged commit 10d74db into rails:main May 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants