This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a commit to branch dependabot/pip/pytest-8.0.2
in repository https://gitbox.apache.org/repos/asf/libcloud.git

commit 83a1114a0a204b85009113d3241a22feb80c2245
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Mon Apr 15 21:53:48 2024 +0200

    Revert "Try using loadscope pytest-xdist test distribution method to see if 
this"
    
    This reverts commit 20ae7315661fee522d332665a48f7868e788569c.
---
 tox.ini | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tox.ini b/tox.ini
index 43942453b..9dcc2f406 100644
--- a/tox.ini
+++ b/tox.ini
@@ -36,9 +36,9 @@ setenv =
 # NOTE: By default we run tests on CI in parallel to speed up the build
 # To avoid per-test function process safety issues we run all tests in a single
 # file in the same worker process.
-# for pytest-xdist, we want to distribute tests by file (class + method) aka 
--dist loadscope
+# for pytest-xdist, we want to distribute tests by file aka --dist loadfile
 commands = cp libcloud/test/secrets.py-dist libcloud/test/secrets.py
-           pytest --color=yes -rsx -vvv --capture=tee-sys -o log_cli=True 
--durations=10 --timeout=15 -n auto --dist loadscope --ignore 
libcloud/test/benchmarks/ --ignore-glob 
"*test_list_objects_filtering_performance*"
+           pytest --color=yes -rsx -vvv --capture=tee-sys -o log_cli=True 
--durations=10 --timeout=15 -n auto --dist loadfile --ignore 
libcloud/test/benchmarks/ --ignore-glob 
"*test_list_objects_filtering_performance*"
 
 [testenv:py3.8-dist]
 # Verify library installs without any dependencies when using python setup.py

Reply via email to