From 501cc36b7a1da0bfc329894e71e478dba900dc28 Mon Sep 17 00:00:00 2001 From: James Garner Date: Tue, 8 Oct 2024 11:05:59 +1300 Subject: [PATCH] ci: run integration tests serially Integration tests are incredibly flakey currently. Perhaps this is related to the parallel execution of the tests. Certainly the fact that the tests are randomly distributed across threads doesn't help with figuring out what works and what doesn't. --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index a0d2aa367..015b6d3e7 100644 --- a/tox.ini +++ b/tox.ini @@ -63,7 +63,7 @@ envdir = {toxworkdir}/py3 commands = pip install urllib3<2 pip install pylxd - python -m pytest --tb native -ra -v -n auto -k 'integration' -m 'not serial' {posargs} + python -m pytest --tb native -ra -v -n 1 -k 'integration' -m 'not serial' {posargs} [testenv:unit] envdir = {toxworkdir}/py3