Skip to content

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

Merged
hc-github-team-consul-core merged 3 commits intorelease/1.2.xfrom
backport/cleanup_remove_finalizers/blatantly-set-basilisk
Mar 14, 2024
Merged

Backport of NET-6878: Remove finalizers from CRDs during test resource cleanup into release/1.2.x#3747
hc-github-team-consul-core merged 3 commits intorelease/1.2.xfrom
backport/cleanup_remove_finalizers/blatantly-set-basilisk

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.2.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/blatantly-set-basilisk branch from 3cceb96 to 5916b11 Compare March 14, 2024 17:36
@hc-github-team-consul-core hc-github-team-consul-core enabled auto-merge (squash) March 14, 2024 17:36
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