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

zeeke / sriov-cni / 12808308539
37%
master: 46%

Build:
Build:
LAST BUILD BRANCH: us/lock-file-integration-test
DEFAULT BRANCH: master
Ran 16 Jan 2025 11:56AM UTC
Jobs 1
Files 12
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

16 Jan 2025 11:54AM UTC coverage: 37.289% (+0.5%) from 36.797%
12808308539

push

github

zeeke
integration-test

Having a test suite that covers the code from an out-of-process perspective helps
in testing specific scenarios, e.g. when the concurrency of multiple program instances
occurs. Also, using test doubles instead of real SR-IOV capable NICs makes tests fast
and portable, in a way that can be run at every commit.

Add a test suite that invokes a system-mocked version of the sriov CNI binary, in which
the `/sys` filesystem content is defined at code, and the network interfaces are of type dummy.

Add `test-integration` make target to invoke the test suite.

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

0 of 146 new or added lines in 2 files covered. (0.0%)

54 existing lines in 4 files now uncovered.

553 of 1483 relevant lines covered (37.29%)

1.87 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
30
0.0
0.0% test/integration/sriov-mocked.go
116
19.65
0.0% pkg/utils/testing.go

Uncovered Existing Lines

Lines Coverage ∆ File
4
74.42
28.04% pkg/utils/pci_allocator.go
12
0.0
0.0% pkg/cnicommands/cni.go
19
68.8
-1.27% pkg/config/config.go
19
19.65
0.0% pkg/utils/testing.go
Jobs
ID Job ID Ran Files Coverage
1 12808308539.1 16 Jan 2025 11:55AM UTC 12
37.29
GitHub Action Run
Source Files on build 12808308539
  • Tree
  • List 12
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #12808308539
  • d8f433cd on github
  • Prev Build on us/integration-tests (#12808283884)
  • Next Build on us/integration-tests (#12808311021)
  • 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