Testing Pabot 48/12548/3
authorMark Beierl <mark.beierl@canonical.com>
Thu, 15 Sep 2022 18:18:25 +0000 (14:18 -0400)
committerbeierlm <mark.beierl@canonical.com>
Wed, 14 Dec 2022 14:18:24 +0000 (15:18 +0100)
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 <mark.beierl@canonical.com>
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
requirements.in
requirements.txt
robot-systest/run_test.sh

index 9dbfc17..b6da487 100644 (file)
@@ -23,6 +23,7 @@ regex
 requests
 robotframework
 robotframework-jsonlibrary
+robotframework-pabot
 robotframework-requests
 robotframework-seleniumlibrary
 robotframework-sshlibrary
index d2edc30..47204bb 100644 (file)
@@ -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
index 6792452..190889c 100755 (executable)
@@ -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"