From 853abb286ea6593d643534ea655f99716fe0d4b7 Mon Sep 17 00:00:00 2001 From: Lescurel Date: Mon, 28 Jul 2025 22:51:26 +0200 Subject: [PATCH] replace pytest-parallel with pytest-xdist --- api/requirements.txt | 4 ++-- api/test_run.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api/requirements.txt b/api/requirements.txt index e9b7c9091..d50fa2c37 100644 --- a/api/requirements.txt +++ b/api/requirements.txt @@ -25,8 +25,8 @@ NamedAtomicLock dataclasses_json # Test requirements -pytest<7.2.0 # https://github.com/pytest-dev/pytest/issues/10420 remove version limitation when fixed -pytest-parallel<7.2.0 # https://github.com/pytest-dev/pytest/issues/10420 remove version limitation when fixed +pytest # https://github.com/pytest-dev/pytest/issues/10420 remove version limitation when fixed +pytest-xdist # https://github.com/pytest-dev/pytest/issues/10420 remove version limitation when fixed selenium faker dataclasses_json diff --git a/api/test_run.sh b/api/test_run.sh index 032dddea8..fb325223b 100755 --- a/api/test_run.sh +++ b/api/test_run.sh @@ -36,4 +36,4 @@ if [ -n "$WAIT_FOR_DEBUGGER" ]; then wait_for_debugger_flags="-m debugpy --listen 0.0.0.0:5678 --wait-for-client" fi -python3 $wait_for_debugger_flags -m pytest --color=yes . --workers ${TEST_PARALELLISM} -ra +python3 $wait_for_debugger_flags -m pytest --color=yes . -n ${TEST_PARALELLISM} -ra