From: halil.cakal Date: Mon, 10 Mar 2025 11:11:29 +0000 (+0000) Subject: Increase healthcheck retries for cps-and-ncmp X-Git-Tag: 3.6.2~48^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=1b78a121645c9d99a25c662025522565458beb47;p=cps.git 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 --- 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