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

kubernetes-sigs / karpenter / 28216864103

26 Jun 2026 04:16AM UTC coverage: 82.001% (+0.4%) from 81.612%
28216864103

Pull #3113

github

jmdeal
test: version-gate DRA tests for ResourceSlice API and consumable capacity

Two presubmit failures across the version matrix, both missing version gates:

- nodeclaim/lifecycle 'DRA Initialization Gating' failed on k8s 1.30-1.33
  with 'no matches for kind ResourceSlice in resource.k8s.io/v1' — the DRA
  API only exists on >= 1.34. Added the <34 Skip to its BeforeEach, and
  guarded the AfterEach ResourceSlice DeleteAllOf on the same version (Ginkgo
  runs AfterEach even when BeforeEach skips).
- disruption 'Consolidation/DRA' partial-shared-reclaim test failed on 1.35;
  it uses a multi-allocatable device (consumable capacity), which needs the
  DRAConsumableCapacity feature GA in 1.36. Added a per-spec <36 Skip; the
  other five consolidation DRA specs use exclusive devices and remain gated
  at <34.

Verified by simulating CI versions via K8S_VERSION with an older envtest
binary: lifecycle and disruption DRA specs skip cleanly on 1.33 (no
NoKindMatchError), the partial-shared spec skips on 1.35 while the other five
run, and all run on 1.36.
Pull Request #3113: feat: dra allocator integration

1075 of 1212 new or added lines in 20 files covered. (88.7%)

15864 of 19346 relevant lines covered (82.0%)

97097.24 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

68.91
/pkg/controllers/nodeclaim/lifecycle/controller.go


Source Not Available

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