|
Ran
|
Jobs
1
|
Files
48
|
Run time
1min
|
Badge
README BADGES
|
travis-pro
Fix repeated netpol file recreation due to map ordering in CR updates - Sort map keys in buildHostprotRemoteIpList(), updateNodeIpsHostprotRemoteIpContainer(), and updateNodeHostprotRemoteIpContainer() to ensure deterministic ordering of HostprotRemoteIpContainer CR specs - Add DeepEqual checks to skip no-op updates - Fix early return after CR deletion to prevent attempting update on deleted object - This prevents unnecessary CR updates that were triggering hostagent to repeatedly recreate .netpol files - Also fixes a bug where after deleting a HostprotRemoteIpContainer CR (when not found in nsRemoteIpCont cache), the code continued to attempt updating the deleted CR, causing 'UID field not found' errors (cherry picked from commit dd8ed758b)
49 of 62 new or added lines in 1 file covered. (79.03%)
7 existing lines in 3 files now uncovered.13458 of 21420 relevant lines covered (62.83%)
0.72 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 13 |
77.32 |
-0.05% | pkg/controller/network_policy.go |
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 2 |
77.32 |
-0.05% | pkg/controller/network_policy.go |
| 2 |
57.53 |
-0.08% | pkg/controller/services.go |
| 3 |
64.22 |
-0.4% | pkg/hostagent/services.go |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 11573.1 (DEFAULT_BRANCH=master GOPROXY=https://proxy.golang.org,https://goproxy.io,direct) | 48 |
62.83 |
Travis Job 11573.1 |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|