• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zeeke / multus-networkpolicy / 10792966771
58%
master: 58%

Build:
Build:
LAST BUILD BRANCH: ds/sync-20251029
DEFAULT BRANCH: master
Ran 10 Sep 2024 01:03PM UTC
Jobs 1
Files 9
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 Sep 2024 12:56PM UTC coverage: 57.672%. Remained the same
10792966771

push

github

zeeke
Make sure that policies with no valid peers are enforced

If a policy rule has a `from` (or `to`) selector that matches no pods,
the subject pod has to not be reached by  (or has to not reach) any pods.

The following example helps clarify the reasons behind these:
Given a scenario  with 3 pods (A, B, C) and a rule like:
```
podSelector:
    matchLabels:
      name: A
  ingress:
  - from:
    - podSelector:
        matchLabels:
          name: B
  policyTypes:
  - Ingress
```
Pod A can be reached only by pod B. Pod C can't reach A, and this has to be
ensured even if pod B is deleted.

Add an end-to-end test case to validate this scenario and adjust unit
tests accordingly.

Signed-off-by: Andrea Panattoni <apanatto@redhat.com>

2 of 2 new or added lines in 1 file covered. (100.0%)

23 existing lines in 1 file now uncovered.

1105 of 1916 relevant lines covered (57.67%)

0.67 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Go- - 10792966771.1 10 Sep 2024 01:03PM UTC 0
57.67
GitHub Action Run
Source Files on build 10792966771
Detailed source file information is not available for this build.
  • Back to Repo
  • 1065b3ca on github
  • Prev Build on sync/2024-09-10 (#10792955871)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc