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

AO3-6632 Fix flaky collection anonymity tests #4660

Conversation

Bilka2
Copy link
Contributor

@Bilka2 Bilka2 commented Nov 13, 2023

Issue

https://otwarchive.atlassian.net/browse/AO3-6632

Purpose

Fix flaky collection anonymity tests by adding simulated delays before certain actions to ensure cache expiry and correct ordering of works sorted by age.

Testing Instructions

No manual QA required. I ran the test 50x here, with no failures. Before the fix, 50 runs resulted in a variety of failures, including in some tests in the same file that are not listed in the Jira issue. They are all fixed now.

References

sarken's WIP with email failure related to work ordering.

Credit

Bilka (he/him)

@github-actions github-actions bot added Scope: Tests Only Only changes automated tests or test configuration Awaiting Review labels Nov 13, 2023
Copy link
Collaborator

@sarken sarken left a comment

Choose a reason for hiding this comment

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

Grazie!

@sarken sarken merged commit 99be16c into otwcode:master Nov 13, 2023
25 checks passed
@Bilka2 Bilka2 deleted the AO3-6632-intermittent-failures-collection-anonymity-feature branch November 13, 2023 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Reviewed: Ready to Merge Scope: Tests Only Only changes automated tests or test configuration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants