Skip to content

Commit

Permalink
Test upcoming invoke dynamic option
Browse files Browse the repository at this point in the history
  • Loading branch information
trask committed Jan 24, 2025
1 parent 9080324 commit 1e0b9ba
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,10 @@ private void startTestApplicationContainer() throws Exception {
"-Dapplicationinsights.testing.statsbeat.ikey=00000000-0000-0000-0000-0FEEDDADBEEG");
javaToolOptions.add(
"-Dapplicationinsights.testing.statsbeat.endpoint=http://host.testcontainers.internal:6060/");
if (!currentImageName.startsWith("ibm-semeru-runtimes:")
&& !currentImageName.contains("-openj9-")) {
javaToolOptions.add("-Dotel.javaagent.experimental.indy=true");
}
}
container.withEnv("JAVA_TOOL_OPTIONS", String.join(" ", javaToolOptions));

Expand Down

0 comments on commit 1e0b9ba

Please sign in to comment.