summaryrefslogtreecommitdiff
path: root/.azure-pipelines
diff options
context:
space:
mode:
authorChris Hunt <chrahunt@gmail.com>2019-10-29 02:04:55 -0400
committerChris Hunt <chrahunt@gmail.com>2019-10-29 02:04:55 -0400
commita7edcc730e2df40cbe42627ff2622fbec253d5db (patch)
treeef8df731eaa3a7ac71b72c9eff7da12b40ec6690 /.azure-pipelines
parent3ff414be9f577e509d7177a9928d17ad8b1d8cf7 (diff)
downloadpip-a7edcc730e2df40cbe42627ff2622fbec253d5db.tar.gz
Normalize parallelization parameter.
Diffstat (limited to '.azure-pipelines')
-rw-r--r--.azure-pipelines/steps/run-tests-windows.yml4
-rw-r--r--.azure-pipelines/steps/run-tests.yml6
2 files changed, 5 insertions, 5 deletions
diff --git a/.azure-pipelines/steps/run-tests-windows.yml b/.azure-pipelines/steps/run-tests-windows.yml
index 9a992f46f..9926754b0 100644
--- a/.azure-pipelines/steps/run-tests-windows.yml
+++ b/.azure-pipelines/steps/run-tests-windows.yml
@@ -27,7 +27,7 @@ steps:
- bash: pip install --upgrade setuptools tox
displayName: Install Tox
-- script: tox -e py -- -m unit -n 3 --junit-xml=junit/unit-test.xml
+- script: tox -e py -- -m unit -n auto --junit-xml=junit/unit-test.xml
env:
TEMP: "R:\\Temp"
displayName: Tox run unit tests
@@ -43,7 +43,7 @@ steps:
# https://bugs.python.org/issue18199
$env:TEMP = "R:\Temp"
- tox -e py -- -m integration -n 3 --duration=5 --junit-xml=junit/integration-test.xml
+ tox -e py -- -m integration -n auto --duration=5 --junit-xml=junit/integration-test.xml
displayName: Tox run integration tests
- task: PublishTestResults@2
diff --git a/.azure-pipelines/steps/run-tests.yml b/.azure-pipelines/steps/run-tests.yml
index 2682e085f..64163a5be 100644
--- a/.azure-pipelines/steps/run-tests.yml
+++ b/.azure-pipelines/steps/run-tests.yml
@@ -7,14 +7,14 @@ steps:
- bash: pip install --upgrade setuptools tox
displayName: Install Tox
-- script: tox -e py -- -m unit --junit-xml=junit/unit-test.xml
+- script: tox -e py -- -m unit -n auto --junit-xml=junit/unit-test.xml
displayName: Tox run unit tests
# Run integration tests in two groups so we will fail faster if there is a failure in the first group
-- script: tox -e py -- -m integration -n 4 --duration=5 -k "not test_install" --junit-xml=junit/integration-test-group0.xml
+- script: tox -e py -- -m integration -n auto --duration=5 -k "not test_install" --junit-xml=junit/integration-test-group0.xml
displayName: Tox run Group 0 integration tests
-- script: tox -e py -- -m integration -n 4 --duration=5 -k "test_install" --junit-xml=junit/integration-test-group1.xml
+- script: tox -e py -- -m integration -n auto --duration=5 -k "test_install" --junit-xml=junit/integration-test-group1.xml
displayName: Tox run Group 1 integration tests
- task: PublishTestResults@2