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

Make FallbackLoaderTest more robust. #4264

Merged
merged 1 commit into from
Feb 21, 2025

Conversation

demiankatz
Copy link
Member

I have been noticing some intermittent failures of FallbackLoaderTest in my local environment. The problem appears to be a missed click in Mink similar to the issue discussed in #4222. In rare cases, one of the comments was not getting added correctly, which was causing a failure. This PR adds an assertion to confirm that the comment is added successfully, and refactors the retry mechanism from BulkTest into a trait so it can be reused here.

I wish there was a better solution to this problem, but at least creating a trait means that we can find all instances of the hack if we can improve upon this fix in future.

@demiankatz demiankatz added this to the 11.0 milestone Feb 21, 2025
@demiankatz demiankatz requested a review from ThoWagen February 21, 2025 14:24
Copy link
Contributor

@ThoWagen ThoWagen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @demiankatz! Makes sense to me.

@demiankatz demiankatz merged commit 5465f4b into vufind-org:dev Feb 21, 2025
6 checks passed
@demiankatz demiankatz deleted the improve-fallbackloadertest branch February 21, 2025 15:55
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.

2 participants