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

Fixing race conditions in transferProgressListenerTest #5985

Merged

Conversation

RanVaknin
Copy link
Contributor

Motivation and Context

Tests in this class are intermittently failing due to a race condition. Expanding the verify clause with a timeout allows for padding and polling reducing the failure rate almost to 0%.

Testing

Ran all of those test cases with a @RepeatedTest(500) wrapper and observed an error rate of 0.7%
After adding timeout I ran the wrapper multiple times and observed 0% failures (local environment testing only).

@RanVaknin RanVaknin requested a review from a team as a code owner March 24, 2025 21:02
@RanVaknin RanVaknin force-pushed the rvaknin/fix-integ-S3JavaMultipartTransferProgressListenerTest branch from 56c9dd4 to 1339675 Compare March 24, 2025 21:19
@RanVaknin RanVaknin added this pull request to the merge queue Mar 25, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 25, 2025
@RanVaknin RanVaknin added this pull request to the merge queue Mar 26, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 26, 2025
@RanVaknin RanVaknin added this pull request to the merge queue Mar 27, 2025
Merged via the queue into master with commit df2b80b Mar 27, 2025
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants