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

kubevirt / containerized-data-importer / #5233
59%
main: 49%

Build:
Build:
LAST BUILD BRANCH: bazel-push-images-use-skopeo
DEFAULT BRANCH: main
Ran 17 Apr 2025 02:08PM UTC
Jobs 1
Files 155
Run time 3min
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

17 Apr 2025 01:59PM UTC coverage: 59.173% (+0.001%) from 59.172%
#5233

Pull #3704

travis-ci

Acedus
include error message for upload failure due to lack of space

The uploadserver features two handler functions for sync and async
uploads.

The async upload handler correctly reports an error message if QEMU
image size validation errors due to lack of space in the target by
appending the error message to the HTTP response. The sync upload
handler, however, does not.

This commit makes error handling for failed upload identical between
both handlers. Furthermore, it also checks for ENOSPC errors during
write as can happen when the image is streamed directly into target
instead of going through scratch space first (e.g., raw images). It also
consolidates the sync and async upload failure e2e tests into a single
DescribeTable and improves upon its clarity.

Signed-off-by: Adi Aloni <aaloni@redhat.com>
Pull Request #3704: uploadserver, tests: include error message for upload failure due to lack of space

11 of 15 new or added lines in 1 file covered. (73.33%)

16811 of 28410 relevant lines covered (59.17%)

0.65 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
63.42
0.03% pkg/uploadserver/uploadserver.go
Jobs
ID Job ID Ran Files Coverage
1 #5233.1 17 Apr 2025 02:08PM UTC 155
59.17
Source Files on build #5233
  • Tree
  • List 155
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #3704
  • PR Base - 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

© 2025 Coveralls, Inc