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

fix(evpn): unit test fixes #402

Merged
merged 3 commits into from
Jan 8, 2024

Conversation

atulpatel261194
Copy link
Contributor

No description provided.

Copy link

codecov bot commented Dec 7, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (cc438b9) 10.03% compared to head (ec2a0b0) 33.58%.
Report is 30 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #402       +/-   ##
===========================================
+ Coverage   10.03%   33.58%   +23.54%     
===========================================
  Files          16       17        +1     
  Lines        2132     2162       +30     
===========================================
+ Hits          214      726      +512     
+ Misses       1900     1403      -497     
- Partials       18       33       +15     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@atulpatel261194 atulpatel261194 marked this pull request as ready for review December 7, 2023 08:12
@atulpatel261194 atulpatel261194 requested a review from a team as a code owner December 7, 2023 08:12
Copy link
Collaborator

@artek-koltun artek-koltun left a comment

Choose a reason for hiding this comment

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

@atulpatel261194 a great improvements of the tests! Nice to see +17.80% of the overall coverage. However, there are some comments from my side.

network/bridge_port_test.go Outdated Show resolved Hide resolved
network/bridge_port_test.go Outdated Show resolved Hide resolved
network/bridge_port_test.go Outdated Show resolved Hide resolved
network/logical_bridge_test.go Outdated Show resolved Hide resolved
network/logical_bridge_test.go Outdated Show resolved Hide resolved
network/vrf_test.go Outdated Show resolved Hide resolved
network/logical_bridge_test.go Outdated Show resolved Hide resolved
@atulpatel261194
Copy link
Contributor Author

@atulpatel261194 a great improvements of the tests! Nice to see +17.80% of the overall coverage. However, there are some comments from my side.

I appreciate your feedback, I want to acknowledge that I am currently on leave for the next two weeks. However, please be assured that I am committed to addressing the suggestions you provided as soon as I return in January'24 . I have made note of your suggestions and will prioritize implementing the necessary changes to improve the quality and effectivenes

@artek-koltun
Copy link
Collaborator

I appreciate your feedback, I want to acknowledge that I am currently on leave for the next two weeks. However, please be assured that I am committed to addressing the suggestions you provided as soon as I return in January'24 . I have made note of your suggestions and will prioritize implementing the necessary changes to improve the quality and effectivenes

Sure. Enjoy your vacation!

@atulpatel261194 atulpatel261194 force-pushed the ap_unittest branch 2 times, most recently from 444a8d1 to 4c384e7 Compare January 2, 2024 14:11
Copy link
Collaborator

@artek-koltun artek-koltun left a comment

Choose a reason for hiding this comment

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

Looks good. Just some minor comments

network/bridge_port_test.go Outdated Show resolved Hide resolved
Addr: &pc.IPAddress{
Af: pc.IpAf_IP_AF_INET,
V4OrV6: &pc.IPAddress_V4Addr{
V4Addr: 192<<24 | 168<<16 | 1<<8 | 1,
Copy link
Collaborator

Choose a reason for hiding this comment

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

do we have a dedicated function in go, which could perform that conversion for us?

network/vrf.go Show resolved Hide resolved
network/svi.go Show resolved Hide resolved
Signed-off-by: atulpatel261194 <atul.patel@intel.com>
Signed-off-by: atulpatel261194 <atul.patel@intel.com>
Signed-off-by: atulpatel261194 <atul.patel@intel.com>
Copy link
Collaborator

@artek-koltun artek-koltun left a comment

Choose a reason for hiding this comment

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

LGTM!

@artek-koltun artek-koltun merged commit 16c2a05 into opiproject:main Jan 8, 2024
18 checks passed
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.

2 participants