vmware-tanzu / nsx-operator

Kubernetes Operator for managing NSX network resources
Other
13 stars 20 forks source link

Update e2e test case #888

Closed wenqiq closed 2 weeks ago

wenqiq commented 2 weeks ago
  1. Update the test-e2e script
  2. Use CRD ClientSet to get CRD resource
  3. Improve some test cases
codecov-commenter commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 70.10%. Comparing base (7d0d711) to head (9051906). Report is 4 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/vmware-tanzu/nsx-operator/pull/888/graphs/tree.svg?width=650&height=150&src=pr&token=R0Q6IGC2PC&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vmware-tanzu)](https://app.codecov.io/gh/vmware-tanzu/nsx-operator/pull/888?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vmware-tanzu) ```diff @@ Coverage Diff @@ ## main #888 +/- ## ========================================== - Coverage 70.36% 70.10% -0.26% ========================================== Files 95 95 Lines 15023 15023 ========================================== - Hits 10571 10532 -39 - Misses 3718 3761 +43 + Partials 734 730 -4 ``` | [Flag](https://app.codecov.io/gh/vmware-tanzu/nsx-operator/pull/888/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vmware-tanzu) | Coverage Δ | | |---|---|---| | [unit-tests](https://app.codecov.io/gh/vmware-tanzu/nsx-operator/pull/888/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vmware-tanzu) | `70.10% <ø> (-0.26%)` | :arrow_down: | [see 8 files with indirect coverage changes](https://app.codecov.io/gh/vmware-tanzu/nsx-operator/pull/888/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vmware-tanzu)