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: flaky test testAsyncRefreshHandlesFailures #1342

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

lauzadis
Copy link
Member

This PR cleans up and attempts to fix a flaky test testAsyncRefreshHandlesFailures by waiting for the s3:CreateSession call to complete before continuing to the assertion. This is wrapped in a withTimeout block to prevent hitting an infinite loop.

This makes the test more synchronous because it waits for the first async refresh to finish before launching the second. Since the test is only meant to test async refresh being resilient to failures in s3:CreateSession, I think it's fine to make this change.

Issue #

Description of changes

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@lauzadis lauzadis added the no-changelog Indicates that a changelog entry isn't required for a pull request. Use sparingly. label Jun 27, 2024
@lauzadis lauzadis requested a review from a team as a code owner June 27, 2024 15:11
Copy link

Copy link

A new generated diff is ready to view.

Copy link

Affected Artifacts

No artifacts changed size

@lauzadis lauzadis merged commit 112b307 into main Jun 27, 2024
20 of 22 checks passed
@lauzadis lauzadis deleted the fix-s3-express-flaky-test branch June 27, 2024 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog Indicates that a changelog entry isn't required for a pull request. Use sparingly.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants