aboutsummaryrefslogtreecommitdiffstats
path: root/csit
diff options
context:
space:
mode:
authoradheli.tavares <adheli.tavares@est.tech>2024-03-25 15:56:21 +0000
committeradheli.tavares <adheli.tavares@est.tech>2024-04-10 14:47:41 +0100
commitf35d01581c8da55946d604e5a444972fe4b0d318 (patch)
treeb4eb14bf45c68cdad142ace5df29c6022bd6f3f7 /csit
parentc5936fb131831992ac8da40fb56599dfb0ae1b5e (diff)
Improvements to CSIT
Issue-ID: POLICY-4868 Change-Id: If2fe23e18f500fc777091b26016180521e4fa852 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Diffstat (limited to 'csit')
-rwxr-xr-xcsit/resources/scripts/setup-drools-applications.sh2
-rwxr-xr-xcsit/run-project-csit.sh1
2 files changed, 3 insertions, 0 deletions
diff --git a/csit/resources/scripts/setup-drools-applications.sh b/csit/resources/scripts/setup-drools-applications.sh
index 94272e3c..bfb3f67d 100755
--- a/csit/resources/scripts/setup-drools-applications.sh
+++ b/csit/resources/scripts/setup-drools-applications.sh
@@ -29,7 +29,9 @@ export SUITES="drools-applications-test.robot"
export KAFKA_IP="localhost:${KAFKA_PORT}"
# wait for the app to start up
+"${SCRIPTS}"/wait_for_rest.sh localhost ${PAP_PORT}
"${SCRIPTS}"/wait_for_rest.sh localhost ${DROOLS_APPS_PORT}
+"${SCRIPTS}"/wait_for_rest.sh localhost ${DROOLS_APPS_TELEMETRY_PORT}
# give enough time for the controllers to come up
sleep 15
diff --git a/csit/run-project-csit.sh b/csit/run-project-csit.sh
index 32f80b63..07a3424c 100755
--- a/csit/run-project-csit.sh
+++ b/csit/run-project-csit.sh
@@ -34,6 +34,7 @@ function on_exit(){
docker_stats
source_safely ${WORKSPACE}/compose/stop-compose.sh
+ rsync "${WORKSPACE}/compose/docker_compose.log" "${WORKSPACE}/csit/archives/${PROJECT}"
if [[ ${WORKDIR} ]]; then
rsync -av "${WORKDIR}/" "${WORKSPACE}/csit/archives/${PROJECT}"