Closed zeeke closed 1 year ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
pkg/server/options.go | 0 | 5 | 0.0% | ||
pkg/server/server.go | 0 | 13 | 0.0% | ||
<!-- | Total: | 0 | 18 | 0.0% | --> |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
pkg/server/options.go | 1 | 0% | ||
<!-- | Total: | 1 | --> |
Totals | |
---|---|
Change from base Build 3092084100: | -0.09% |
Covered Lines: | 862 |
Relevant Lines: | 1691 |
Honestly, no idea how to unit test these changes, as they are about the application lifecycle. Maybe some bash scripting on top of https://github.com/zeeke/multi-networkpolicy-iptables/tree/e2e-testing could help.
Graceful shutdown allows cleaning iptable rules in pods.
Open points:
This PR also contain a small refactor about
Options
andServer
interactions.