diff options
author | 2025-03-10 11:11:29 +0000 | |
---|---|---|
committer | 2025-03-11 13:31:37 +0000 | |
commit | 1b78a121645c9d99a25c662025522565458beb47 (patch) | |
tree | a53782dbaefeda30ed2f978096a9abd6174600ca | |
parent | 4d4a34ff861f8bea940db0e7457c77f019fad98d (diff) |
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 <halil.cakal@est.tech>
-rw-r--r-- | docker-compose/docker-compose.yml | 2 | ||||
-rwxr-xr-x | 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 |