Skip to content
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

Fix ipset reconciler unit tests #31836

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

pippolo84
Copy link
Member

The tests incorrectly register the ipset reconciler twice: first forcefully with reconciler.Register and then at hive build time requesting the reconciler as a parameter in newIPSetManager signature.

The two reconcilers are appended to the hive lifecycle and compete to update the simulated ipsets, possibly leading to flakyness.

The commit removes the useless initial cell.Invoke.

Related: #31789

@pippolo84 pippolo84 added kind/bug/CI This is a bug in the testing code. area/CI Continuous Integration testing issue or flake release-note/ci This PR makes changes to the CI. labels Apr 8, 2024
@pippolo84 pippolo84 requested a review from a team as a code owner April 8, 2024 12:40
@pippolo84 pippolo84 requested a review from aspsk April 8, 2024 12:40
@pippolo84
Copy link
Member Author

@aspsk gentle ping for the review 🙏

@pippolo84

This comment was marked as outdated.

The tests incorrectly register the ipset reconciler twice: first
forcefully with reconciler.Register and then at hive build time
requesting the reconciler as a parameter in newIPSetManager signature.

The two reconcilers are appended to the hive lifecycle and compete to
update the simulated ipsets, possibly leading to flakyness.

The commit removes the useless initial cell.Invoke.

Signed-off-by: Fabio Falzoi <fabio.falzoi@isovalent.com>
@pippolo84 pippolo84 force-pushed the pr/pippolo84/fix-ipset-tests branch from 0cc8fc8 to 704b1bb Compare April 16, 2024 10:26
@pippolo84
Copy link
Member Author

/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 Apr 16, 2024
@julianwiedmann julianwiedmann added this pull request to the merge queue Apr 16, 2024
Merged via the queue into cilium:main with commit 91a16db Apr 16, 2024
60 of 62 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/CI Continuous Integration testing issue or flake kind/bug/CI This is a bug in the testing code. 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.

None yet

3 participants