From 20f05eacd12e6256b19316d21411714f7eea80db Mon Sep 17 00:00:00 2001 From: Andrew Azores Date: Thu, 25 Jan 2024 14:46:19 -0500 Subject: [PATCH] test(smoketest): add healthcheck to -reports container (#273) --- smoketest/compose/reports.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/smoketest/compose/reports.yml b/smoketest/compose/reports.yml index 0a20915d3..ea26ac4ee 100644 --- a/smoketest/compose/reports.yml +++ b/smoketest/compose/reports.yml @@ -22,3 +22,9 @@ services: environment: JAVA_OPTS_APPEND: "-Dcom.sun.management.jmxremote.autodiscovery=true -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=11224 -Dcom.sun.management.jmxremote.rmi.port=11224 -Djava.rmi.server.hostname=reports -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.local.only=false" QUARKUS_HTTP_PORT: 10001 + healthcheck: + test: curl --fail http://localhost:10001/ || exit 1 + retries: 3 + interval: 30s + start_period: 30s + timeout: 1s