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

kubevirt / containerized-data-importer / #4741
49%

Build:
DEFAULT BRANCH: main
Ran 14 Jun 2024 02:46PM UTC
Jobs 1
Files 155
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

14 Jun 2024 02:38PM UTC coverage: 59.052% (-0.004%) from 59.056%
#4741

push

travis-ci

web-flow
Avoid a panic in test clean-up (#3322)

During test setup, pointer framework.ClientsInstance.K8sClient is
assigned.  During the test AfterEach phase, an Eventually loop accesses
this pointer.

If the test fails before this assignment, the after-each will panic.

Pointer assignment:
    https://github.com/kubevirt/containerized-data-importer/blob/<a class=hub.com/kubevirt/containerized-data-importer/commit/<a class="double-link" href="https://git"><a class=hub.com/kubevirt/containerized-data-importer/commit/b6392df9bf943f00c70ae71d37106cc12a576f19">b6392df9b/tests/tests_suite_test.go#L123
Panic in AfterEach, when calling GetTestNamespaceList:
    https://github.com/kubevirt/containerized-data-importer/blob/b6392df9bf943f00c70ae71d37106cc12a576f19/tests/tests_suite_test.go#L162
Which defereferences the client pointer in client.CoreV1():
    https://github.com/kubevirt/containerized-data-importer/blob/b6392df9bf943f00c70ae71d37106cc12a576f19/tests/utils/common.go#L136

Signed-off-by: Edu Gómez Escandell <egomez@redhat.com>

16286 of 27579 relevant lines covered (59.05%)

0.65 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
7
52.63
-9.21% pkg/util/prometheus/prometheus.go
Jobs
ID Job ID Ran Files Coverage
1 #4741.1 14 Jun 2024 02:46PM UTC 155
59.05
Source Files on build #4741
  • Tree
  • List 155
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e8b9890b on github
  • Prev Build on main
  • Next Build on main
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