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

kubevirt / containerized-data-importer / #5967
50%

Build:
DEFAULT BRANCH: main
Ran 28 Apr 2026 04:13PM UTC
Jobs 1
Files 159
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

28 Apr 2026 03:43PM UTC coverage: 49.632% (+0.06%) from 49.571%
#5967

push

travis-ci

web-flow
VDDK: search root snapshot backing file chain for target disk (#4055)

* VDDK: search backing file chain more thoroughly

VMware VMs can have multiple levels of backing file parents, if it had
snapshots that were deleted but not yet consolidated into one file.
This changes searches through this chain for the target file, up to an
arbitrary limit.

Signed-off-by: Matthew Arnold <marnold@redhat.com>

* VDDK: add tests for multiple parent backing files

Rework the existing tests to make it easier to build the backing file
chains, and add three new tests to validate the new search.

Signed-off-by: Matthew Arnold <marnold@redhat.com>

* VDDK: disambiguate snapshot disk file lookup test

Previously, it was not clear if this test was testing a target disk
search through multiple snapshots, or an unconsolidated backing file
chain on a single snapshot. This changes the test to handle both.

Signed-off-by: Matthew Arnold <marnold@redhat.com>

* Split up and flatten FindDiskInRootSnapshotParent

This should reduce complexity rating in CI.

Signed-off-by: Matthew Arnold <marnold@redhat.com>

* Further flatten search to reduce complexity rating.

Signed-off-by: Matthew Arnold <marnold@redhat.com>

* Remove extraneous comment.

Signed-off-by: Matthew Arnold <marnold@redhat.com>

* Check expected error message in unit test.

Signed-off-by: Matthew Arnold <marnold@redhat.com>

---------

Signed-off-by: Matthew Arnold <marnold@redhat.com>

62 of 72 new or added lines in 1 file covered. (86.11%)

14988 of 30198 relevant lines covered (49.63%)

0.56 hits per line

Uncovered Changes

Lines Coverage ∆ File
10
62.82
1.13% pkg/importer/vddk-datasource_amd64.go
Jobs
ID Job ID Ran Files Coverage
1 #5967.1 28 Apr 2026 04:13PM UTC 159
49.63
Source Files on build #5967
  • Tree
  • List 159
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • da2b0586 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