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

PulpQE / pulp-smash / 502
63%

Build:
DEFAULT BRANCH: master
Ran 28 Apr 2016 08:48PM UTC
Jobs 4
Files 6
Run time 15s
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

pending completion
502

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%)

2.79 hits per line

Jobs
ID Job ID Ran Files Coverage
1 502.1 28 Apr 2016 08:48PM UTC 0
69.68
Travis Job 502.1
2 502.2 28 Apr 2016 08:48PM UTC 0
69.68
Travis Job 502.2
3 502.3 28 Apr 2016 08:48PM UTC 0
69.68
Travis Job 502.3
4 502.4 28 Apr 2016 08:48PM UTC 0
69.68
Travis Job 502.4
Source Files on build 502
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #502
  • 3a5a7b24 on github
  • Prev Build on master (#500)
  • Next Build on master (#504)
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