Skip to content

Commit 6d50ae8

Browse files
committed
Reduce flakiness in io.opentelemetry.instrumentation.jmx.rules.WildflyTest.testWildflyMetrics(String)[2]
Automated fix attempt based on Develocity flaky-test analysis.
1 parent e84cdb9 commit 6d50ae8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • instrumentation/jmx-metrics/library/src/test/java/io/opentelemetry/instrumentation/jmx/rules

instrumentation/jmx-metrics/library/src/test/java/io/opentelemetry/instrumentation/jmx/rules/WildflyTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ void testWildflyMetrics(String dockerImage) {
4646
.withStartupTimeout(Duration.ofMinutes(2))
4747
.withExposedPorts(WILDFLY_SERVICE_PORT)
4848
.withEnv("JAVA_TOOL_OPTIONS", String.join(" ", jvmArgs))
49-
.waitingFor(Wait.forListeningPorts(WILDFLY_SERVICE_PORT));
49+
.waitingFor(Wait.forLogMessage(".*WFLYSRV0025:.*started in.*", 1));
5050

5151
copyAgentToTarget(target);
5252
copyYamlFilesToTarget(target, yamlFiles);

0 commit comments

Comments
 (0)