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

Mellanox / network-operator / 46418012861
68%

Build:
DEFAULT BRANCH: master
Ran 30 Nov 2026 12:27PM UTC
Jobs 1
Files 63
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

30 Nov 2026 12:22PM UTC coverage: 67.668% (+2.3%) from 65.366%
46418012861

push

github

web-flow
test(state): expand unit test coverage across pkg/state (#3770)

## What changed

Expand unit test coverage across `pkg/state` to address gaps in state
lifecycle,
error-path, and helper coverage:

- Add tests for `NewState*` constructors, `GetWatchSources`, and
`Name`/`Description`
  across state implementations.
- Add `Sync` lifecycle tests covering object creation/updates,
`Ready`/`NotReady`
status transitions, resource deletion when specs are `nil`, missing
catalog
  providers, invalid `ImageSpec` errors, and stale object cleanup.
- Add OpenShift `ServiceAccount`/`Role`/`RoleBinding` rendering coverage
where
  applicable.
- Add unit tests for `factory.go`, `manager.go` (`GetWatchSources`),
  `manifest_renderer.go`, and `state_skel.go` helpers.

Fixes #693

## Validation

1. `go test ./pkg/state/...` passes.
2. `go vet ./pkg/state/` is clean.

5586 of 8255 relevant lines covered (67.67%)

102.65 hits per line

Coverage Regressions

Lines Coverage ∆ File
7
77.38
-8.33% controllers/ipoibnetwork_controller.go
7
85.14
-3.15% controllers/nicclusterpolicy_controller.go
4
77.36
-1.89% pkg/state/state_ipoib_network.go
4
80.95
2.86% pkg/state/state_skel.go
2
77.95
-1.57% controllers/mofed_wait_labels.go
Jobs
ID Job ID Ran Files Coverage
1 46418012861.1 30 Nov 2026 12:27PM UTC 63
67.67
GitHub Action Run
Source Files on build 46418012861
  • Tree
  • List 63
  • Changed 23
  • Source Changed 0
  • Coverage Changed 23
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #46418012861
  • e2f6e824 on github
  • Prev Build on master (#46415938272)
  • Next Build on master (#46430667007)
  • 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