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

kubernetes-sigs / lws / 34365180916
64%

Build:
DEFAULT BRANCH: main
Ran 09 Sep 2026 02:43PM UTC
Jobs 1
Files 29
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

09 Sep 2026 02:40PM UTC coverage: 63.682% (+0.3%) from 63.339%
34365180916

push

github

web-flow
test: cover the PodGroup minimum resource calculation (#1037)

CalculatePGMinResources decides how much a gang-scheduled PodGroup
reserves, so an off-by-one in the worker count or a missed template
fallback silently over- or under-reserves capacity. It had no tests.

Add four table-driven cases, one per behaviour the function encodes:
size counts the leader so a group of N reserves one leader plus N-1
workers; a group of one reserves the leader alone; an unset size falls
back to one; and a nil leader template makes the leader run the worker
spec, so the reservation becomes N copies of the worker request.

Each case was checked by mutation: dropping the -1, changing the size
default and removing the template fallback each turn exactly the case
that guards it red.

3151 of 4948 relevant lines covered (63.68%)

44.57 hits per line

Jobs
ID Job ID Ran Files Coverage
1 34365180916.1 09 Sep 2026 02:43PM UTC 29
63.68
GitHub Action Run
Source Files on build 34365180916
  • Tree
  • List 29
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 8d506e2d on github
  • Prev Build on main (#34360775846)
  • Next Build on main (#34475245965)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc