From 3b440a1d25c89ec6589a3cbc32a775536a09d497 Mon Sep 17 00:00:00 2001 From: Jon Holba Date: Wed, 30 Oct 2024 09:23:23 +0100 Subject: [PATCH] Use -n auto for cli tests Lowering from -n logical to auto for cli tests to see if it helps flaky ensemble evaluator --- .github/workflows/test_ert.yml | 2 +- ci/testkomodo.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_ert.yml b/.github/workflows/test_ert.yml index e01513918b0..5c2f66363c4 100644 --- a/.github/workflows/test_ert.yml +++ b/.github/workflows/test_ert.yml @@ -57,7 +57,7 @@ jobs: - name: CLI Test if: inputs.test-type == 'cli-tests' run: | - pytest --cov=ert --cov-report=xml:cov1.xml --junit-xml=junit.xml -o junit_family=legacy -n logical -v --benchmark-disable --dist loadgroup tests/ert/ui_tests/cli + pytest --cov=ert --cov-report=xml:cov1.xml --junit-xml=junit.xml -o junit_family=legacy -n auto -v --benchmark-disable --dist loadgroup tests/ert/ui_tests/cli - name: Unit Test if: inputs.test-type == 'unit-tests' diff --git a/ci/testkomodo.sh b/ci/testkomodo.sh index 57773394b30..f801f39e4c3 100755 --- a/ci/testkomodo.sh +++ b/ci/testkomodo.sh @@ -51,7 +51,7 @@ start_tests () { set +e # Run all ert tests except tests evaluating memory consumption and tests requiring windows manager (GUI tests) - pytest --eclipse-simulator -n logical --show-capture=stderr -v --max-worker-restart 0 \ + pytest --eclipse-simulator -n auto --show-capture=stderr -v --max-worker-restart 0 \ -m "not limit_memory and not requires_window_manager" --benchmark-disable --dist loadgroup return_code_ert_main_tests=$?