From 7fb885ec7f4d372ce29a01febfeefa3f9877a71a Mon Sep 17 00:00:00 2001 From: Andrew Azores Date: Wed, 24 Jan 2024 17:20:14 -0500 Subject: [PATCH] test(smoketest): add healthcheck to -reports container --- 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