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

PulpQE / pulp-smash / 1955
63%

Build:
DEFAULT BRANCH: master
Ran 28 Nov 2017 10:25PM UTC
Jobs 3
Files 7
Run time 1min
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
1955

Pull #818

travis-ci

web-flow
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.
Pull Request #818: Refactor tests for process recycling

529 of 847 relevant lines covered (62.46%)

1.87 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1955.1 28 Nov 2017 10:26PM UTC 0
62.46
Travis Job 1955.1
2 1955.2 28 Nov 2017 10:25PM UTC 0
62.46
Travis Job 1955.2
3 1955.3 28 Nov 2017 10:26PM UTC 0
62.46
Travis Job 1955.3
Source Files on build 1955
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #1955
  • Pull Request #818
  • PR Base - master (#1951)
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