Skip to content

Wrap every command in a retry helper to improve test runs in CI #4453

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

aishwaryabh
Copy link
Contributor

@aishwaryabh aishwaryabh commented Jun 2, 2025

Issue describing the changes in this PR

#4458

This PR wraps every command in the E2E test framework in a retry helper to improve test runs in CI.

Pull request checklist

  • My changes do not require documentation changes
    • Otherwise: Documentation issue linked to PR
  • My changes do not need to be backported to a previous version
    • Otherwise: Backport tracked by issue/PR #issue_or_pr
  • I have added all required tests (Unit tests, E2E tests)

@aishwaryabh aishwaryabh marked this pull request as ready for review June 4, 2025 22:09
@aishwaryabh aishwaryabh requested a review from a team as a code owner June 4, 2025 22:09
@aishwaryabh aishwaryabh changed the title [WIP] Wrap every command in a retry helper to improve test runs in CI Wrap every command in a retry helper to improve test runs in CI Jun 4, 2025
@liliankasem
Copy link
Member

Why do they need to be wrapped in a retry? After how many retries are these tests passing? I think this points to an underlying issue we should investigate - it shouldn't be flaky to this extend no?

@jviau
Copy link
Contributor

jviau commented Jun 5, 2025

Not sure if you have looked into Polly: https://github.com/App-vNext/Polly -- it is a great library for building retry pipelines. But also agree with @liliankasem about understanding the underlying reason these tests are flaky.

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