diff --git a/integration-tests/observability-lgtm/src/test/java/io/quarkus/observability/test/LgtmReloadTest.java b/integration-tests/observability-lgtm/src/test/java/io/quarkus/observability/test/LgtmReloadTest.java index f0d11e46b007b..bbecad807b06e 100644 --- a/integration-tests/observability-lgtm/src/test/java/io/quarkus/observability/test/LgtmReloadTest.java +++ b/integration-tests/observability-lgtm/src/test/java/io/quarkus/observability/test/LgtmReloadTest.java @@ -20,7 +20,10 @@ public class LgtmReloadTest extends LgtmTestHelper { @RegisterExtension static final QuarkusDevModeTest test = new QuarkusDevModeTest() - .withApplicationRoot((jar) -> jar.addClasses(ReloadEndpoint.class, ConfigEndpoint.class)); + .withApplicationRoot( + jar -> jar.addClasses(ReloadEndpoint.class, ConfigEndpoint.class) + .addAsResource("application.properties", + "application.properties")); @Override protected String grafanaEndpoint() { @@ -32,5 +35,7 @@ public void testReload() { poke("/reload"); test.modifySourceFile(ReloadEndpoint.class, s -> s.replace("/reload", "/new")); poke("/new"); + test.modifyResourceFile("application.properties", s -> s.replace("timeout=PT1M", "timeout=PT2M")); + poke("/new"); } } diff --git a/integration-tests/observability-lgtm/src/test/resources/application.properties b/integration-tests/observability-lgtm/src/test/resources/application.properties index e1e468769a002..ed0590146060a 100644 --- a/integration-tests/observability-lgtm/src/test/resources/application.properties +++ b/integration-tests/observability-lgtm/src/test/resources/application.properties @@ -8,3 +8,5 @@ quarkus.log.category."io.quarkus.devservices".level=DEBUG quarkus.micrometer.export.otlp.enabled=true quarkus.micrometer.export.otlp.publish=true quarkus.micrometer.export.otlp.step=PT5S + +quarkus.observability.lgtm.timeout=PT1M \ No newline at end of file