aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Hanrahan <daniel.hanrahan@est.tech>2025-03-12 11:31:00 +0000
committerGerrit Code Review <gerrit@onap.org>2025-03-12 11:31:00 +0000
commit14f0bc57e4f197952b78d1361c5f47f9b47371ce (patch)
tree0f2db42c1df7a295d512dbadadd814adbc70d1f8
parent68e01cce000ab7fd878662c120c89923807ff5dc (diff)
parent1b78a121645c9d99a25c662025522565458beb47 (diff)
Merge "Increase healthcheck retries for cps-and-ncmp"
-rw-r--r--docker-compose/docker-compose.yml2
-rwxr-xr-xk6-tests/setup.sh10
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