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

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

Build:
DEFAULT BRANCH: master
Ran 29 Jun 2018 03:42PM UTC
Files 14
Run time 2s
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

29 Jun 2018 03:22PM UTC coverage: 60.158%. Remained the same
2691.1

push

travis-ci

Ichimonji10
Make PaginationTestCase use small pages

The `PaginationTestCase` verifies that Pulp properly pages results. For
example, if a client GETs the list of repositories and there are more
than 100 results, then Pulp will return only 100 results, plus a link to
the next page of results. There's also a "previous" link. Pulp Smash
assumes that each page will contain 100 elements. This assumption was
valid until today, when the `page_size` parameter was introduced.

Make Pulp Smash take advantage of this parameter, by requesting
relatively small `page_size`. This lets test cases be much faster. This
is of critical importance to the Pulp 3 development team, which runs
tests on Travis hosts, which may have limited CPU resources.

Unfortunately, this change does reduce test coverage. Pagination is
still tested for the following use cases:

* GET a list of repositories.
* GET a list of repository versions.

It is no longer tested for the following use cases:

* GET a list of repository content.
* GET a list of content added to a repository.
* GET a list of content removed from a repository.

Re-adding this test coverage will require a solution such as making the
underlying functions (like `get_content`) more capable, duplicating some
URL-building logic into the test case, or simply being OK with dropping
test coverage.

610 of 1014 relevant lines covered (60.16%)

0.6 hits per line

Source Files on job 2691.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2524
  • Travis Job 2691.1
  • b9e25786 on github
  • Prev Job for on master (#2686.1)
  • Next Job for on master (#2697.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