Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add props change to LGTM re-load test #45700

Merged
merged 1 commit into from
Jan 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand All @@ -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");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading