Skip to content

Retry flaky unified tests #1565

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 10 commits into from
Mar 19, 2025
Merged

Conversation

katcharov
Copy link
Collaborator

@katcharov katcharov commented Nov 20, 2024

JAVA-5795

See WRITING-28651

This creates N copies (attempts) of the unified tests, and places a try-catch around shouldPassAllOutcomes. If an attempt passes, ensuing attempts are ignored. Failures are ignored, except the last attempt.

This is not intended to fully resolve the issue, but is a low-cost fix that should reduce failing tests.

@katcharov katcharov requested review from a team and vbabanin and removed request for a team November 20, 2024 22:30
@katcharov katcharov force-pushed the JAVA-5393-unified-retries branch from 6282ce7 to 8e8d7a3 Compare November 21, 2024 18:17
@katcharov katcharov marked this pull request as draft November 21, 2024 18:17
@katcharov katcharov force-pushed the JAVA-5393-unified-retries branch from 8e8d7a3 to 6f3b56d Compare November 21, 2024 21:10
@katcharov katcharov force-pushed the JAVA-5393-unified-retries branch from d24e003 to 6b53427 Compare December 2, 2024 22:27
@katcharov katcharov force-pushed the JAVA-5393-unified-retries branch from 86681ad to 3b2c915 Compare December 5, 2024 23:48
@katcharov katcharov force-pushed the JAVA-5393-unified-retries branch from ce1918c to 784dc51 Compare December 6, 2024 00:24
@katcharov katcharov force-pushed the JAVA-5393-unified-retries branch from 784dc51 to f62539e Compare February 4, 2025 22:02
@katcharov katcharov marked this pull request as ready for review February 5, 2025 14:11
@katcharov katcharov requested a review from vbabanin February 26, 2025 16:16
@katcharov katcharov requested a review from vbabanin March 7, 2025 18:46
Copy link
Member

@vbabanin vbabanin left a comment

Choose a reason for hiding this comment

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

LGTM! Great addition to enhance test stability, @katcharov !

@katcharov katcharov merged commit ab300f8 into mongodb:main Mar 19, 2025
60 checks passed
@katcharov katcharov deleted the JAVA-5393-unified-retries branch March 19, 2025 13:16
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants