Skip to content

Fix failing integration tests#1001

Merged
aphralG merged 12 commits intov3from
fix-flaky-tests
Mar 3, 2025
Merged

Fix failing integration tests#1001
aphralG merged 12 commits intov3from
fix-flaky-tests

Conversation

@aphralG
Copy link
Contributor

@aphralG aphralG commented Feb 27, 2025

Proposed changes

Fix flaky integration tests

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING document
  • I have run make install-tools and have attached any dependency changes to this pull request
  • If applicable, I have added tests that prove my fix is effective or that my feature works
  • If applicable, I have checked that any relevant tests pass after adding my changes
  • If applicable, I have updated any relevant documentation (README.md)
  • If applicable, I have tested my cross-platform changes on Ubuntu 22, Redhat 8, SUSE 15 and FreeBSD 13

@aphralG aphralG self-assigned this Feb 27, 2025
@aphralG aphralG requested a review from a team as a code owner February 27, 2025 11:33
@github-actions github-actions bot added bug Something isn't working chore Pull requests for routine tasks labels Feb 27, 2025

client := resty.New()
client.SetRetryCount(retryCount).SetRetryWaitTime(retryWaitTime).SetRetryMaxWaitTime(retryMaxWaitTime)
client.SetRetryCount(retryCount).SetRetryWaitTime(4 * time.Second).SetRetryMaxWaitTime(5 * time.Second)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you increase the values in the retryWaitTime & retryMaxWaitTime variables instead of hardcoding values here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, was trying to avoid raising them for all tests

@aphralG aphralG merged commit 290c6e8 into v3 Mar 3, 2025
20 checks passed
@aphralG aphralG deleted the fix-flaky-tests branch March 3, 2025 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working chore Pull requests for routine tasks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants