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

SchSeba / sriov-network-operator-1 / 28433899007 / 1
64%
master: 64%

Build:
Build:
LAST BUILD BRANCH: conditions/operator-config-v2
DEFAULT BRANCH: master
Ran 30 Jun 2026 09:33AM UTC
Files 108
Run time 4s
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

30 Jun 2026 09:20AM UTC coverage: 63.565% (+0.007%) from 63.558%
28433899007.1

push

github

SchSeba
fix(daemon): prevent test suite timeout flake during cleanup

The DeferCleanup calls in the daemon test's BeforeAll had a LIFO
execution order that could cause a hang: pr.Stop() ran first with an
un-cancellable context.Background() Delete call. If that API call hung,
the parent context cancel() was never reached, leaving the manager
goroutine running until the 10-minute Go test timeout fired.

Fix the ordering by registering DeferCleanup(cancel) last so it
executes first in LIFO order. This cancels the parent context before
any other cleanup, propagating to both the manager and podRecreator
goroutines so they exit promptly. Additionally, add a 10-second timeout
to the podRecreator Stop() Delete call as defense-in-depth.

Signed-off-by: Sebastian Sch <sebassch@gmail.com>

9501 of 14947 relevant lines covered (63.56%)

0.71 hits per line

Source Files on job 28433899007.1
  • Tree
  • List 108
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 28433899007
  • 43187ea9 on github
  • Prev Job for on fix/daemon-test-flake (#28358702933.1)
  • Next Job for on fix/daemon-test-flake (#28447074443.1)
  • Delete
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