Correction OFFLINE_XTESTING_FILE variable
[infra/cicd.git] / jjb / cloud-infra / scripts / xtesting-infra-healthcheck.sh
index 4ec460376133b0c31cf2ccdc90725021f793e29b..b480989bb35718803b3b8889d4046170b9d83963 100755 (executable)
 set -o errexit
 set -o pipefail
 
+# NOTE (eprasad) we need to override execution mode variable to mode supported by test framework
+export EXECUTION_MODE=$(echo "$EXECUTION_MODE" | sed 's/deployment/test/g')
+
 echo "Info  : Cloning infra/test repository"
 cd $HOME && /bin/rm -rf $WORKSPACE
 git clone -q $TEST_REPO_URL $WORKSPACE
 
 
-# Note (eprasad): Set execution mode
-export EXECUTION_MODE=online-test
-
-
 cd $WORKSPACE/test
 ./test.sh -s "$STACK_TYPE" -b "$BRANCH" -c "$DEPLOY_SCENARIO" -f "$TEST_FW" -t "$TEST_SUITE" \
     -o /tmp/openrc -i /tmp/inventory.ini -y -v