-
Notifications
You must be signed in to change notification settings - Fork 116
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
Refactor controller tests #609
Refactor controller tests #609
Conversation
adrianchiris
commented
Feb 1, 2024
- Move Manager creation and initialization to each controller test
- Move creation of k8s objs that are not common for all controllers to each controller test
- Use ordered containers to only setup manager once per controller test
- remove the usage of context.TODO() from tests
Thanks for your PR,
To skip the vendors CIs use one of:
|
Hopefully this will conclude the refactoring/fixes for controller tests for the near future .... :) |
Pull Request Test Coverage Report for Build 7774621818
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
- Move Manager creation and initialization to each controller test - Move creation of k8s objs that are not common for all controllers to each controller test - Use ordered containers to only setup manager once per controller test - remove the usage of context.TODO() from tests Signed-off-by: adrianc <[email protected]>
14a2c1b
to
01e5922
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
PR rebased. @zeeke could you re-approve so we can merge this one once CI passes ? |
multus flake in ocp test. not related to this PR. IMO we can proceed with merging this one. |
d131e98
into
k8snetworkplumbingwg:master