Skip to content

Commit

Permalink
Adjust timeouts for LGTM container and tests
Browse files Browse the repository at this point in the history
Fixes quarkusio#45774 (maybe...)
  • Loading branch information
gsmet committed Jan 23, 2025
1 parent 202c65c commit b3cdc89
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-actions-incremental.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ env:
COMMON_MAVEN_ARGS: "-e -B --settings .github/mvn-settings.xml --fail-at-end"
COMMON_TEST_MAVEN_ARGS: "-Dformat.skip -Denforcer.skip -DskipDocs -Dforbiddenapis.skip -DskipExtensionValidation -DskipCodestartValidation"
NATIVE_TEST_MAVEN_ARGS: "-Dtest-containers -Dstart-containers -Dquarkus.native.native-image-xmx=6g -Dnative -Dnative.surefire.skip -Dno-descriptor-tests clean install -DskipDocs"
JVM_TEST_MAVEN_ARGS: "-Dtest-containers -Dstart-containers -Dquarkus.test.hang-detection-timeout=60"
JVM_TEST_MAVEN_ARGS: "-Dtest-containers -Dstart-containers -Dquarkus.test.hang-detection-timeout=300"
PTS_MAVEN_ARGS: "-Ddevelocity.pts.enabled=${{ github.event_name == 'pull_request' && github.base_ref == 'main' && 'true' || 'false' }}"
DB_USER: hibernate_orm_test
DB_PASSWORD: hibernate_orm_test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ public int grafanaPort() {

@Override
public Duration timeout() {
return Duration.ofMinutes(1);
return Duration.ofMinutes(3);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ public interface GrafanaConfig extends ContainerConfig {
/**
* The timeout.
*/
@WithDefault("PT1M")
@WithDefault("PT3M")
Duration timeout();
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +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"));
test.modifyResourceFile("application.properties", s -> s.replace("timeout=PT3M", "timeout=PT4M"));
poke("/new");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ quarkus.micrometer.export.otlp.enabled=true
quarkus.micrometer.export.otlp.publish=true
quarkus.micrometer.export.otlp.step=PT5S

quarkus.observability.lgtm.timeout=PT1M
quarkus.observability.lgtm.timeout=PT3M

0 comments on commit b3cdc89

Please sign in to comment.