Skip to content

test(go): remove unused controller-runtime Manager#4626

Merged
erikgb merged 1 commit intoweaveworks:mainfrom
erikgb:cleanup-k8s-test
Jan 26, 2025
Merged

test(go): remove unused controller-runtime Manager#4626
erikgb merged 1 commit intoweaveworks:mainfrom
erikgb:cleanup-k8s-test

Conversation

@erikgb
Copy link
Copy Markdown
Contributor

@erikgb erikgb commented Jan 26, 2025

Closes

What changed?

The primary change in this PR is removing an unused controller-runtime Manager. I have no idea why the test setup was created this way, but we don't need to create a Manager (heavy) just to create a controller-runtime Client.

In addition, I made all use of the test-helper consistent (stopping testEnv).

Also improving a flaky test with Ginkgo Eventually - as it was bugging me while verifying this change. 🤠

Why was this change made?

Still trying to dig into the occasionally blocked tests.

How was this change implemented?

How did you validate the change?

Release notes

Documentation Changes

@erikgb erikgb requested a review from a team January 26, 2025 14:39
@erikgb erikgb enabled auto-merge (rebase) January 26, 2025 14:41
@erikgb erikgb merged commit 03d0eea into weaveworks:main Jan 26, 2025
This was referenced Feb 4, 2025
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