Skip to content

Backport of NET-6878: Remove finalizers from CRDs during test resource cleanup into release/1.3.x#3748

Merged
hc-github-team-consul-core merged 1 commit intorelease/1.3.xfrom
backport/cleanup_remove_finalizers/ghastly-integral-mole
Mar 14, 2024
Merged

Backport of NET-6878: Remove finalizers from CRDs during test resource cleanup into release/1.3.x#3748
hc-github-team-consul-core merged 1 commit intorelease/1.3.xfrom
backport/cleanup_remove_finalizers/ghastly-integral-mole

Conversation

@hc-github-team-consul-core
Copy link
Copy Markdown
Collaborator

Backport

This PR is auto-generated from #3739 to be assessed for backporting due to the inclusion of the label backport/1.3.x.

The below text is copied from the body of the original PR.


Changes proposed in this PR

At times, CRDs created as part of the test suite are not cleaned up properly causing the test to timeout and run for a really long time

  • Switch from retrier based on time to a counter based retries for fast fail
  • Add goroutine to the remove finalizers, if "delete" resource command is called

How I've tested this PR

CI should pass

How I expect reviewers to test this PR

CI should pass

Checklist


Overview of commits

@hc-github-team-consul-core hc-github-team-consul-core force-pushed the backport/cleanup_remove_finalizers/ghastly-integral-mole branch from 5567f47 to 80a5c99 Compare March 14, 2024 17:37
@hc-github-team-consul-core hc-github-team-consul-core enabled auto-merge (squash) March 14, 2024 17:37
@NiniOak NiniOak force-pushed the backport/cleanup_remove_finalizers/ghastly-integral-mole branch from 80a5c99 to 97a303d Compare March 14, 2024 18: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