|
Ran
|
Jobs
1
|
Files
46
|
Run time
1min
|
Badge
README BADGES
|
travis-pro
Fix handling of HostNetwork pods in hpp_direct When hpp_direct is enabled, the hostprotremoteipcontainer CR was previously storing a single entry for each IP address, which caused issues when multiple pods with the same IP but different labels existed in the same namespace. Deleting one pod would result in the IP being removed from the hostprotremoteipcontainer CR, even if other pods using the same IP remained. This update modifies the code to add a separate entry for each pod in the hostprotremoteipcontainer CR, ensuring that IPs are only removed when all pods using the IP have been deleted. (cherry picked from commit dcb8bfed4)
25 of 32 new or added lines in 2 files covered. (78.13%)
9 existing lines in 2 files now uncovered.13314 of 19289 relevant lines covered (69.02%)
0.79 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 7 |
79.67 |
-0.18% | pkg/controller/network_policy.go |
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 3 |
79.67 |
-0.18% | pkg/controller/network_policy.go |
| 6 |
66.11 |
0.08% | pkg/apicapi/apicapi.go |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 10504.1 (DEFAULT_BRANCH=master GOPROXY=https://proxy.golang.org,https://goproxy.io,direct) | 46 |
69.02 |
Travis Job 10504.1 |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|