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

[CTX-601] chore: always retry terraform-destroy #1664

Merged
merged 1 commit into from
Jun 1, 2023

Conversation

craigfurman
Copy link
Contributor

Many acceptance test failures are caused by stray resources left behind from previous runs. We think failed terraform-destroy cleanup might be to blame. This commit adds unconditional retry with a long exponential backoff to try to ensure that cleanup can work within cloud provider rate limits, reducing the maintenance burden.

Remove RetryConfig, which a small number of tests were using to optionally add retry behaviour.

Many acceptance test failures are caused by stray resources left behind
from previous runs. We think failed terraform-destroy cleanup might be
to blame. This commit adds unconditional retry with a long exponential
backoff to try to ensure that cleanup can work within cloud provider
rate limits, reducing the maintenance burden.

Remove RetryConfig, which a small number of tests were using to
optionally add retry behaviour.
@craigfurman craigfurman requested a review from a team as a code owner June 1, 2023 13:32
@craigfurman craigfurman requested review from chdorner-snyk and removed request for a team June 1, 2023 13:32
Copy link
Contributor

@chdorner-snyk chdorner-snyk left a comment

Choose a reason for hiding this comment

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

🍘

@craigfurman craigfurman merged commit 098c94c into main Jun 1, 2023
@craigfurman craigfurman deleted the acc-tests-always-retry-cleanup branch June 1, 2023 16:33
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