Skip to content

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

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

Merged
merged 1 commit into from
Jan 26, 2025

Conversation

erikgb
Copy link
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
13 checks passed
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