-
Notifications
You must be signed in to change notification settings - Fork 347
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
add e2e network policy test #140
Conversation
Thanks for your PR. The following commands are available:
|
@lzhecheng, you must sign our contributor license agreement before your changes are merged. Click here to sign the agreement. If you are a VMware employee, read this for further instruction. |
/test-e2e |
/test-e2e |
@lzhecheng thanks for working on this, but is the test case different from https://github.com/kubernetes/kubernetes/blob/master/test/e2e/network/network_policy.go? If not, I think we don't need to add duplicate ones, we should only add cases not covered by upstream tests. We can first enable the upstream ones. |
If the K8s network policy tests can be run as part of the Kind CI (#137) and complete in a few minutes, then I am also in favor of using these tests instead of merging this. If they take too long to run, then we should select a small subset of these tests to run for every commit. If this is not possible for some reason, then we should have our own test and merge this. |
The K8s tests can be selected by |
Let's use conformance's network policy testcases and antrea specific network policy testcases. I will close this PR now. |
Thanks for your PR. The following commands are available:
These commands can only be run by members of the vmware-tanzu organization. |
In exporting and collecting process, simplify the address input consumption.
This PR is to add a simple e2e network policy test. The testing network policy only allows traffic from pod with correct label.