-
Notifications
You must be signed in to change notification settings - Fork 748
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 egress-v4-cni plugin to support unit testing #2353
Conversation
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.
Refactor overall looks great, just some nits to help with structure. Main points are:
- Let's pull integration tests out and save that for a future PR
- Let's rename the
share
folder
Also, can you rebase this against HEAD of master branch and squash the commits down to 1? That will make it easier to review
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.
One last nit, then this is good to go, thanks @wanyufe ! Also, can you squash this into one commit? That will make the history easier to read. After that, I can kick off manual integration test job and approve once it passes
92113ee
to
66ab916
Compare
What type of PR is this?
Refactor, no functions changes.
Which issue does this PR fix:
egress-cni plugin has no unit-testing code.
What does this PR do / Why do we need it:
Two reasons:
If an issue # is not available please add repro steps and logs from IPAMD/CNI showing the issue:
Testing done on this change:
Manual testing, unit testing, and integration testing
Automation added to e2e:
Will this PR introduce any new dependencies?:
No
Will this break upgrades or downgrades. Has updating a running cluster been tested?:
No
Does this change require updates to the CNI daemonset config files to work?:
No
Does this PR introduce any user-facing change?:
No
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.