Page MenuHomeSoftware Heritage

settings/tests: Fix tests when using pytest-xdist
ClosedPublic

Authored by anlambert on Jan 22 2020, 5:04 PM.

Details

Summary

This fixes the tests when using the parallelization feature of pytest-xdist.

We gain at least 10 seconds on the overall tests execution time using 4 workers.

Diff Detail

Repository
rDWAPPS Web applications
Branch
add-pytest-xdist-support
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 10245
Build 15200: Cypress tests for swh-web diffsJenkins
Build 15199: tox-on-jenkinsJenkins
Build 15198: arc lint + arc unit

Event Timeline

anlambert created this revision.Jan 22 2020, 5:04 PM
vlorentz accepted this revision.Jan 22 2020, 5:16 PM
vlorentz added a subscriber: vlorentz.

I really don't like this conditional...

This revision is now accepted and ready to land.Jan 22 2020, 5:16 PM
This revision was automatically updated to reflect the committed changes.