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

kubevirt / containerized-data-importer / #5434 / 1
49%
main: 49%

Build:
DEFAULT BRANCH: main
Ran 03 Jul 2025 03:26PM UTC
Files 155
Run time 5s
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

03 Jul 2025 03:14PM UTC coverage: 59.425% (+0.07%) from 59.355%
#5434.1

push

travis-ci

web-flow
Bugfix: Fix math in overhead size calculations  (#3779)

* Fix GetUsableSpace calculation

GetUsableSpace had wrong assumptions about undoing overhead calculations. This commit fixes the math and updates the appropriate unit tests.

Signed-off-by: Alvaro Romero <alromero@redhat.com>

* Fix GetRequiredSpace calculations

GetRequiredSpace uses wrong math to calculate overhead expansion, which usually causes inflated space to be significantly larger than it should.

This commit fixes this calculation and removes the redundant CalculateOverheadSpace.

Signed-off-by: Alvaro Romero <alromero@redhat.com>

* Fix functional tests that assume bad fs overhead inflation

Signed-off-by: Alvaro Romero <alromero@redhat.com>

* Increase image size in upload test to avoid overhead inflation issue

There's a known issue where the default overhead inflation is insufficient to account for the fs overhead in smaller images.

This commit increases the image size in a test so the overhead inflation is enough for the upload to succeed.

Signed-off-by: Alvaro Romero <alromero@redhat.com>

---------

Signed-off-by: Alvaro Romero <alromero@redhat.com>

16982 of 28577 relevant lines covered (59.43%)

0.66 hits per line

Source Files on job #5434.1
  • Tree
  • List 155
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5434
  • 26e34df4 on github
  • Prev Job for on main (##5426.1)
  • Next Job for on main (##5437.1)
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