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

Add unit test in path pkg/agent/interfacestore #4265

Merged
merged 1 commit into from
Oct 12, 2022

Conversation

wenyingd
Copy link
Contributor

@wenyingd wenyingd commented Sep 30, 2022

  1. Remove unused InterfaceType "HostInterface"
  2. Add unit test in path pkg/agent/interfacestore

Signed-off-by: wenyingd wenyingd@vmware.com

@codecov
Copy link

codecov bot commented Sep 30, 2022

Codecov Report

Merging #4265 (2af39a5) into main (e7486d5) will increase coverage by 0.51%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4265      +/-   ##
==========================================
+ Coverage   62.24%   62.75%   +0.51%     
==========================================
  Files         385      385              
  Lines       54513    54511       -2     
==========================================
+ Hits        33929    34211     +282     
+ Misses      18105    17816     -289     
- Partials     2479     2484       +5     
Flag Coverage Δ
e2e-tests 39.30% <ø> (?)
integration-tests 35.04% <ø> (-0.11%) ⬇️
kind-e2e-tests 48.99% <ø> (+0.84%) ⬆️
unit-tests 43.97% <ø> (+0.13%) ⬆️
Impacted Files Coverage Δ
pkg/agent/interfacestore/types.go 100.00% <ø> (+22.22%) ⬆️
...trollers/multicluster/resourceexport_controller.go 76.22% <0.00%> (-3.83%) ⬇️
pkg/agent/cniserver/server.go 74.34% <0.00%> (-3.41%) ⬇️
...agent/flowexporter/connections/deny_connections.go 84.94% <0.00%> (-2.16%) ⬇️
...lticluster/commonarea/resourceimport_controller.go 79.55% <0.00%> (-1.49%) ⬇️
...kg/apiserver/registry/system/supportbundle/rest.go 71.30% <0.00%> (-1.31%) ⬇️
...g/agent/cniserver/interface_configuration_linux.go 26.45% <0.00%> (-0.98%) ⬇️
pkg/agent/util/net.go 53.55% <0.00%> (-0.75%) ⬇️
pkg/ovs/openflow/ofctrl_bridge.go 77.26% <0.00%> (-0.58%) ⬇️
pkg/agent/proxy/proxier.go 70.21% <0.00%> (-0.47%) ⬇️
... and 29 more

Signed-off-by: wenyingd <wenyingd@vmware.com>
@jianjuns
Copy link
Contributor

jianjuns commented Oct 1, 2022

/test-all

@wenyingd wenyingd requested a review from tnqn October 11, 2022 03:21
@tnqn tnqn merged commit ac70351 into antrea-io:main Oct 12, 2022
heanlan pushed a commit to heanlan/antrea that referenced this pull request Mar 29, 2023
Signed-off-by: wenyingd <wenyingd@vmware.com>
@wenyingd wenyingd deleted the ut_interfacestore branch May 30, 2023 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants