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 fs test #4391

Merged
merged 1 commit into from
Feb 6, 2024
Merged

Conversation

nkomonen-amazon
Copy link
Contributor

Reported by #4390, this test is failing on the mkdirSpy call count assertion.
Not exactly sure why this is flaky, but maybe it is due to the previous folders not being cleaned up.

Solution

This commit deletes the created folders after each test finishes. Additionally, this commit checks the actual spy call count so that we can better debug the issue

License

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

@nkomonen-amazon
Copy link
Contributor Author

/retryBuilds

@nkomonen-amazon
Copy link
Contributor Author

/retryBuilds

@nkomonen-amazon nkomonen-amazon force-pushed the fixFlakyTest branch 2 times, most recently from c7a1231 to 22761e1 Compare February 6, 2024 17:49
Reported by aws#4390, this test is failing on the mkdirSpy call count assertion.

Not exactly sure why this is flaky, but maybe it is due
to the previous folders not being cleaned up.

This commit deletes the created folders after each test finishes.
Additionally, this commit checks the actual spy call count so that
we can better debug the issue

Signed-off-by: nkomonen <[email protected]>
@nkomonen-amazon nkomonen-amazon merged commit 6982bcc into aws:master Feb 6, 2024
14 of 15 checks passed
@nkomonen-amazon nkomonen-amazon deleted the fixFlakyTest branch February 6, 2024 21:16
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