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

build(test): add automatic retry to all mocha tests. #6005

Merged
merged 2 commits into from
Nov 18, 2024

Conversation

Hweinstock
Copy link
Contributor

Problem

There are many unreliable tests that seem to fail very rarely or even only once. If they are truly failing so rarely, retrying them should keep CI green. This also allows us to avoid investigating flaky tests that aren't having a meaningful negative impact on the dev experience.

Solution

  • retry failed tests up to 3 times.

License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

This comment was marked as resolved.

@Hweinstock Hweinstock marked this pull request as ready for review November 13, 2024 22:20
@Hweinstock Hweinstock requested a review from a team as a code owner November 13, 2024 22:20
@Hweinstock Hweinstock merged commit ccba819 into aws:master Nov 18, 2024
24 of 25 checks passed
@Hweinstock Hweinstock deleted the automaticRetry branch November 18, 2024 19:12
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.

3 participants