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

buildinspace / peru / 235
88%

Build:
DEFAULT BRANCH: master
Ran 05 Sep 2014 06:47PM UTC
Jobs 2
Files 16
Run time 105432min
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
235

push

travis-ci

oconnor663
test_parallelism.py

Summary:
Finally write some tests that check how much parallelism is actually
going on. I initially wrote D74 to help, but that was way more
complicated than it needed to be. Instead, just count to a global
variable in `plugins.py` and write tests against that variable.

Several cases get exercised here:
- Parallelism works at all.
- `--jobs 1` turns off parallelism.
- Identical modules don't get fetched in parallel.
- Modules with the same plugin cache dir don't either.

For that last case, create the `noop_cache` plugin, which doesn't
actually do anything besides defining `cache fields` in its
`plugin.yaml`.

Test Plan:
For each of our locks (the module cache lock, the plugin cache lock, and
the parallelism semaphore), delete it, and confirm that a different test
fails each time. Also, set `DEFAULT_PARALLEL_FETCH_LIMIT` to 1 and
confirm that the first test fails.

Reviewers: sean

Differential Revision: https://phabricator.buildinspace.com/D79

854 of 915 relevant lines covered (93.33%)

1.62 hits per line

Jobs
ID Job ID Ran Files Coverage
1 235.1 17 Nov 2014 11:57PM UTC 0
93.33
Travis Job 235.1
2 235.2 17 Nov 2014 11:59PM UTC 0
93.33
Travis Job 235.2
Source Files on build 235
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #235
  • 5af104c1 on github
  • Prev Build on master (#234)
  • Next Build on master (#236)
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