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

PulpQE / pulp-smash / 502 / 1
63%
master: 63%

Build:
DEFAULT BRANCH: master
Ran 28 Apr 2016 08:48PM UTC
Files 6
Run time 0s
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 2016 08:45PM UTC coverage: 69.679% (+0.6%) from 69.057%
502.1

push

travis-ci

Ichimonji10
Improve file upload logic in upload_import_unit()

`upload_import_unit` currently uploads a given file to Pulp all in one
go. This works well if the file is small, but is an issue when file
sizes become larger. Rewrite the function so that it iterates through
the given file and uploads the given file in 200,000 byte (~200 kB)
chunks.

This chunk size was arbitrarily chosen. It has been tested and works for
large files (specifically, a Docker image file) for Pulp servers running
on Fedora 22 and 23.

This change does not break existing tests. Tests executed with:

    python -m unittest2 discover pulp_smash.tests

347 of 498 relevant lines covered (69.68%)

0.7 hits per line

Source Files on job 502.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 502
  • Travis Job 502.1
  • 3a5a7b24 on github
  • Prev Job for on master (#500.1)
  • Next Job for on master (#504.4)
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