tests: make integration tests work with pytest-xdist
Metadata
Current evaluation
Parallel pytest-xdist integration testing was ultimately merged in PR #320 as commit 35b06f4, replacing the closed #276 proposal.
Resolution: closed superseded
Reason: PR #320 delivered the pytest-xdist parallel-test changes in commit 35b06f4. PR #276 had no resolving merge commit and was superseded by that later implementation.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
Our integration tests can easily run in parallel even on a single core — this uses `pytest-xdist` to do exactly that.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed superseded | Parallel pytest-xdist integration testing was ultimately merged in PR #320 as commit 35b06f4, replacing the closed #276 proposal. | |
| qwen/qwen3.6-35b-a3b | — | closed resolved | Merged PR to configure pytest-xdist, enabling parallel execution of integration tests. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Superseded By:
canonical/craft-providers#320
(confidence 95%)
Merged PR #320 implemented pytest-xdist parallel execution in commit 35b06f4.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #320 tests: use pytest-xdist to run tests in parallel | craft-providers | merged | Merged PR #320 as commit 35b06f4, adding pytest-xdist for parallel test execution and building on merged PR #319. | |
| #4641 tests: make parametrized unit test order determinable | snapcraft | merged | Merged PR #4641 in commit 612288366, making parametrized unit-test ordering deterministic so pytest-xdist can use multicore systems. | |
| #272 tests: make integration tests use datadir | craft-parts | closed | Closed unmerged after review; the pytest-datadir integration-test refactor was deferred to canonical/craft-parts#275 for broader design discussion. |