aboutsummaryrefslogtreecommitdiffstats
path: root/csit/run-csit.sh
diff options
context:
space:
mode:
authordemskeq8 <alexander.dehn@highstreet-technologies.com>2023-05-31 14:26:25 +0200
committerdemskeq8 <alexander.dehn@highstreet-technologies.com>2023-06-01 16:18:18 +0200
commit7b2cf6d7ee07d31e51fc2fba478274c120739b3b (patch)
tree985a6eacff8451adf5cf9c32914e0b3d1e5cc3ab /csit/run-csit.sh
parentf91533a9b7dc3c349a2a9a00c82faafd5de8b17e (diff)
[CSIT] fix /operations/GENERIC-RESOURCE-API path for RFC8040 conformance
remove tailing '/' enable csit tests for GENERIC-RESOURCE-API Issue-ID: SDNC-1812 Signed-off-by: demskeq8 <alexander.dehn@highstreet-technologies.com> Change-Id: Ie6a82d18973b6e58fa20c1284640baed69eb577e Former-commit-id: dcfccebc367687ba878674287a89c0b7834594af
Diffstat (limited to 'csit/run-csit.sh')
-rwxr-xr-xcsit/run-csit.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/csit/run-csit.sh b/csit/run-csit.sh
index 31b8e29f..ba3fb9a9 100755
--- a/csit/run-csit.sh
+++ b/csit/run-csit.sh
@@ -157,10 +157,8 @@ source_safely "${WORKSPACE}/sdnc-csit.env"
if [[ -z $ROBOT_IMAGE ]]; then
# Run installation of prerequired libraries
source_safely "${WORKSPACE}/prepare-csit.sh"
-
-
-# Activate the virtualenv containing all the required libraries installed by prepare-csit.sh
-source_safely "${ROBOT_VENV}/bin/activate"
+ # Activate the virtualenv containing all the required libraries installed by prepare-csit.sh
+ source_safely "${ROBOT_VENV}/bin/activate"
fi
WORKDIR=$(mktemp -d --suffix=-robot-workdir)
@@ -211,6 +209,7 @@ if [[ -z $SDNC_RELEASE_WITHOUT_ROBOT ]] ; then
else
echo "*** TRACE **** python is running in a container"
docker run --rm --net="host" \
+ --env-file ${WORKSPACE}/sdnc-csit-robot.env \
-v ${WORKSPACE}:${WORKSPACE} -v ${WORKDIR}:${WORKDIR} $ROBOT_IMAGE \
python3 -B -m robot.run -N ${TESTPLAN} -v WORKSPACE:/tmp --outputdir ${WORKDIR} ${ROBOT_VARIABLES} ${TESTOPTIONS} ${SUITES}
fi