From 77ffa11c63db2fb43514b4378b7b71ced08f2c2d Mon Sep 17 00:00:00 2001 From: Nico Schedel Date: Thu, 8 Jul 2021 12:25:25 +0200 Subject: [PATCH] TT#70901 selenium: only use one thread for local testruns Set thread count to one by default for local tests for better visibilty and reliability. Jenkins tests will continue to run with 2 threads Change-Id: Ib7ea46674d74f318c3818e733964d6ca2abbabbc --- t/selenium/nose2cfg/localtest.cfg | 2 +- t/selenium/testrunner | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/t/selenium/nose2cfg/localtest.cfg b/t/selenium/nose2cfg/localtest.cfg index 88a00126..75f40614 100644 --- a/t/selenium/nose2cfg/localtest.cfg +++ b/t/selenium/nose2cfg/localtest.cfg @@ -14,7 +14,7 @@ test_fullname = True [multiprocess] #change thread count here. should be the same as in testrunner always-on = True -processes = 2 +processes = 1 [output-buffer] always-on = True diff --git a/t/selenium/testrunner b/t/selenium/testrunner index a2b9cc1f..e7ae54af 100755 --- a/t/selenium/testrunner +++ b/t/selenium/testrunner @@ -56,7 +56,7 @@ cd t/selenium if [ "${OUTPUT_TYPE:-}" = "junit" ] ; then #Change thread count here and in nose2cfg/jenkinstest.cfg - export THREADS=2 + export THREADS=1 export JENKINS=1 python3 testrun.py -v -c nose2cfg/jenkinstest.cfg | \ tee -a "${OUTPUT_DIRECTORY}/selenium.xml"