From 5ea40e756c18c79f398a02b5cd907b5dce0974aa Mon Sep 17 00:00:00 2001 From: Mark Beierl Date: Thu, 15 Sep 2022 14:18:25 -0400 Subject: [PATCH] Testing Pabot Simple test to run 2 concurrent robot tests at the same time just to see if it works Change-Id: I1c13486ed9e63d6ba193a14d992e3a9ad6d8600c Signed-off-by: Mark Beierl Signed-off-by: garciadeblas --- requirements.in | 1 + requirements.txt | 11 +++++++++-- robot-systest/run_test.sh | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/requirements.in b/requirements.in index 9dbfc17..b6da487 100644 --- a/requirements.in +++ b/requirements.in @@ -23,6 +23,7 @@ regex requests robotframework robotframework-jsonlibrary +robotframework-pabot robotframework-requests robotframework-seleniumlibrary robotframework-sshlibrary diff --git a/requirements.txt b/requirements.txt index d2edc30..47204bb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -128,6 +128,7 @@ jsonpointer==2.3 jsonschema==2.5.1 # via # charm-tools + # robotframework-jsonlibrary # robotframework-jsonvalidator jujubundlelib==0.5.7 # via @@ -335,13 +336,17 @@ robotframework==5.0.1 # -r requirements.in # robotframework-jsonlibrary # robotframework-jsonvalidator + # robotframework-pabot # robotframework-requests # robotframework-seleniumlibrary # robotframework-sshlibrary -robotframework-jsonlibrary==0.4.1 + # robotframework-stacktrace +robotframework-jsonlibrary==0.5 # via -r requirements.in robotframework-jsonvalidator==2.0.0 # via -r requirements.in +robotframework-pabot==2.7.0 + # via -r requirements.in robotframework-pythonlibcore==3.0.0 # via robotframework-seleniumlibrary robotframework-requests==0.9.3 @@ -350,6 +355,8 @@ robotframework-seleniumlibrary==6.0.0 # via -r requirements.in robotframework-sshlibrary==3.8.0 # via -r requirements.in +robotframework-stacktrace==0.4.1 + # via robotframework-pabot robotframework-yamllibrary==0.2.8 # via -r requirements.in ruamel-yaml==0.15.100 @@ -360,7 +367,7 @@ secretstorage==2.3.1 # via # charm-tools # keyring -selenium==4.3.0 +selenium==4.4.3 # via robotframework-seleniumlibrary simplejson==3.17.6 # via diff --git a/robot-systest/run_test.sh b/robot-systest/run_test.sh index 6792452..190889c 100755 --- a/robot-systest/run_test.sh +++ b/robot-systest/run_test.sh @@ -233,7 +233,7 @@ if [[ -z "${TEST}" ]]; then fi if [[ -n "${TEST}" ]]; then - robot -d ${ROBOT_DEVOPS_FOLDER}/reports -i ${TEST} ${ROBOT_DEVOPS_FOLDER}/testsuite/ + pabot --processes 2 -d ${ROBOT_DEVOPS_FOLDER}/reports -i ${TEST} ${ROBOT_DEVOPS_FOLDER}/testsuite/ exit 0 else echo "Wrong test provided" -- 2.25.1