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

PulpQE / pulp-smash / 1962 / 2
63%
master: 63%

Build:
DEFAULT BRANCH: master
Ran 29 Nov 2017 04:25PM UTC
Files 7
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

29 Nov 2017 04:15PM UTC coverage: 62.456%. Remained the same
1962.2

push

travis-ci

Ichimonji10
Refactor tests for process recycling

The test case in `pulp_smash.tests.pulp2.rpm.cli.test_process_recycling`
sets and unsets `PULP_MAX_TASKS_PER_CHILD` in
`/etc/default/pulp_workers`, and verifies that Pulp respects this option
when starting up. Unfortunately, this test case frequently fails on
Fedora 26, during step four. It's unclear why this test fails, and even
worse, the failure is a heisenbug.

Refactor this module:

* Expand the debugging messages in the assertions. This should make it
  easier to understand whether or not the test failures are significant,
  or if they're insignificant, such as due to a dying process living too
  long.
* Deduplicate clean-up logic in the test case, and make clean-up more
  robust in the case of unexpected failures.
* Drop a function for restarting services, in favor of function
  `GlobalServiceManager.restart`.
* Make "sudo" logic more concise.
* Pre-split strings, to ensure no whitespace surprises.

529 of 847 relevant lines covered (62.46%)

0.62 hits per line

Source Files on job 1962.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1962
  • Travis Job 1962.2
  • 8da3ca00 on github
  • Prev Job for on master (#1960.1)
  • Next Job for on master (#1966.2)
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