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

Do not override global RUN_E2E_SKIP in e2e script #3173

Merged
merged 1 commit into from
Jan 6, 2022

Conversation

tnqn
Copy link
Member

@tnqn tnqn commented Jan 5, 2022

Otherwise running the script with --e2e-all would not run any
NetworkPolicy tests.

Signed-off-by: Quan Tian qtian@vmware.com

Fixes #3172

Otherwise running the script with `--e2e-all` would not run any
NetworkPolicy tests.

Signed-off-by: Quan Tian <qtian@vmware.com>
@tnqn tnqn requested a review from antoninbas January 5, 2022 17:11
Copy link
Contributor

@antoninbas antoninbas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@antoninbas antoninbas added the area/test/infra Issues or PRs related to test infrastructure (Jenkins configuration, Ansible playbook, Kind wrappers label Jan 5, 2022
@codecov-commenter
Copy link

codecov-commenter commented Jan 5, 2022

Codecov Report

Merging #3173 (bbfa330) into main (ba9c7b3) will increase coverage by 1.16%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3173      +/-   ##
==========================================
+ Coverage   59.28%   60.44%   +1.16%     
==========================================
  Files         297      297              
  Lines       25279    25279              
==========================================
+ Hits        14987    15281     +294     
+ Misses       8645     8327     -318     
- Partials     1647     1671      +24     
Flag Coverage Δ
kind-e2e-tests 46.97% <ø> (+1.20%) ⬆️
unit-tests 40.28% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...ver/registry/controlplane/nodestatssummary/rest.go 50.00% <0.00%> (-50.00%) ⬇️
pkg/agent/nodeportlocal/k8s/annotations.go 83.87% <0.00%> (-16.13%) ⬇️
pkg/controller/networkpolicy/store/addressgroup.go 83.01% <0.00%> (-3.78%) ⬇️
.../flowexporter/connections/conntrack_connections.go 83.21% <0.00%> (-0.73%) ⬇️
pkg/agent/controller/networkpolicy/fqdn.go 76.24% <0.00%> (+0.26%) ⬆️
pkg/agent/openflow/client.go 54.65% <0.00%> (+0.62%) ⬆️
pkg/ovs/openflow/ofctrl_packetout.go 80.39% <0.00%> (+0.78%) ⬆️
pkg/controller/egress/controller.go 88.44% <0.00%> (+1.00%) ⬆️
...kg/agent/flowexporter/connections/conntrack_ovs.go 77.57% <0.00%> (+1.21%) ⬆️
...ntroller/networkpolicy/networkpolicy_controller.go 71.64% <0.00%> (+1.21%) ⬆️
... and 9 more

@tnqn
Copy link
Member Author

tnqn commented Jan 6, 2022

/skip-all validated the script manually

@tnqn tnqn merged commit 0be629b into antrea-io:main Jan 6, 2022
@tnqn tnqn deleted the fix-e2e-script branch January 6, 2022 04:44
bangqipropel pushed a commit to bangqipropel/antrea that referenced this pull request Jan 19, 2022
Otherwise running the script with `--e2e-all` would not run any
NetworkPolicy tests.

Signed-off-by: Quan Tian <qtian@vmware.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/test/infra Issues or PRs related to test infrastructure (Jenkins configuration, Ansible playbook, Kind wrappers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

run-k8s-e2e-tests.sh --e2e-all does not run any NetworkPolicy tests
3 participants