From 1b78a121645c9d99a25c662025522565458beb47 Mon Sep 17 00:00:00 2001 From: "halil.cakal" Date: Mon, 10 Mar 2025 11:11:29 +0000 Subject: Increase healthcheck retries for cps-and-ncmp - increase the healthcheck retries from 3 to 10 Issue-ID: CPS-2679 Change-Id: Idd541fd88eb804d552659c32f6c6c92a0919c405 Signed-off-by: halil.cakal --- docker-compose/docker-compose.yml | 2 +- k6-tests/setup.sh | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docker-compose/docker-compose.yml b/docker-compose/docker-compose.yml index 3b7cc6063a..49646731e2 100644 --- a/docker-compose/docker-compose.yml +++ b/docker-compose/docker-compose.yml @@ -94,7 +94,7 @@ services: test: wget -q -O - http://localhost:8080/actuator/health/readiness | grep -q '{"status":"UP"}' || exit 1 interval: 10s timeout: 10s - retries: 3 + retries: 10 start_period: 60s nginx: diff --git a/k6-tests/setup.sh b/k6-tests/setup.sh index c01a0f6c60..d990475522 100755 --- a/k6-tests/setup.sh +++ b/k6-tests/setup.sh @@ -26,11 +26,11 @@ docker-compose \ --profile dmi-stub \ up --quiet-pull --detach --wait || exit 1 - if [[ "$testProfile" == "kpi" ]]; then - ACTUATOR_PORT=8883 - elif [[ "$testProfile" == "endurance" ]]; then - ACTUATOR_PORT=8884 - fi +if [[ "$testProfile" == "kpi" ]]; then + ACTUATOR_PORT=8883 +elif [[ "$testProfile" == "endurance" ]]; then + ACTUATOR_PORT=8884 +fi echo "Build information:" curl --silent --show-error http://localhost:$ACTUATOR_PORT/actuator/info -- cgit