Skip to content

test/controlplane: Remove load-balancing test cases #39494

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

Conversation

joamaki
Copy link
Contributor

@joamaki joamaki commented May 12, 2025

The pkg/loadbalancer/tests does the same tests, but in a much more maintainable way.

Last remaining test in test/controlplane is the CiliumNode test that checks that the agent will create the CiliumNode object from a Node object (e.g. exercising the pkg/nodediscovery). If we'd move daemon/cmd/local_node_sync.go to e.g. pkg/node or pkg/nodediscovery, then we could implement a script test in pkg/nodediscovery and remove test/controlplane completely (d2c87be attempted this but is missing the "local node sync" part). Though likely it makes sense to wait for the Table[Node] PR to land before doing this as it would make his much easier.

The pkg/loadbalancer/tests does the same tests, but in a much more maintainable
way.

Signed-off-by: Jussi Maki <jussi@isovalent.com>
@joamaki joamaki requested a review from a team as a code owner May 12, 2025 10:08
@joamaki joamaki requested a review from christarazi May 12, 2025 10:08
@joamaki joamaki added the release-note/misc This PR makes changes that have no direct user impact. label May 12, 2025
@joamaki
Copy link
Contributor Author

joamaki commented May 12, 2025

/test

@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label May 12, 2025
@joamaki joamaki added this pull request to the merge queue May 13, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 13, 2025
@julianwiedmann julianwiedmann added release-note/ci This PR makes changes to the CI. area/loadbalancing Impacts load-balancing and Kubernetes service implementations and removed release-note/misc This PR makes changes that have no direct user impact. labels May 14, 2025
@julianwiedmann julianwiedmann added this pull request to the merge queue May 14, 2025
Merged via the queue into cilium:main with commit 8c7c5d0 May 14, 2025
68 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/loadbalancing Impacts load-balancing and Kubernetes service implementations ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/ci This PR makes changes to the CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants