Skip to content

Commit

Permalink
Start Jaeger to avoid errors related to opentracing/opentelemetry
Browse files Browse the repository at this point in the history
Closes #290
  • Loading branch information
zakkak committed Oct 18, 2024
1 parent 62113f2 commit e9eeb77
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
import static org.graalvm.tests.integration.utils.Commands.getRunCommand;
import static org.graalvm.tests.integration.utils.Commands.parsePort;
import static org.graalvm.tests.integration.utils.Commands.processStopper;
import static org.graalvm.tests.integration.utils.Commands.removeContainers;
import static org.graalvm.tests.integration.utils.Commands.runCommand;
import static org.graalvm.tests.integration.utils.Commands.stopAllRunningContainers;
import static org.graalvm.tests.integration.utils.Commands.stopRunningContainer;
Expand Down Expand Up @@ -170,6 +171,7 @@ public void testRuntime(TestInfo testInfo, Apps app, Map<String, String> switchR
// it might be valuable to have the binary and not just the logs?
// Nope: Delete it. One can reproduce it from the journal file we maintain.
cleanTarget(app);
removeContainers("quarkus_jaeger");
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ public enum BuildAndRunCmds {
),
QUARKUS_FULL_MICROPROFILE(
new String[][] {
{ CONTAINER_RUNTIME, "run", "--rm", "-d", "-p", "4317:4317", "-e", "COLLECTOR_OTLP_ENABLED=true", "-p", "5775:5775/udp", "-p", "6831:6831/udp", "-p", "6832:6832/udp", "-p", "5778:5778", "-p",
"16686:16686", "-p", "14268:14268", "--name", "quarkus_jaeger", "jaegertracing/all-in-one:latest"
},
{ "mvn", "package", "-Pnative", "-Dquarkus.version=" + QUARKUS_VERSION.getVersionString(),
"-Dquarkus.native.additional-build-args=" +
"-H:Log=registerResource:," +
Expand All @@ -119,6 +122,9 @@ public enum BuildAndRunCmds {
),
QUARKUS_FULL_MICROPROFILE_PERF(
new String[][] {
{ CONTAINER_RUNTIME, "run", "--rm", "-d", "-p", "4317:4317", "-e", "COLLECTOR_OTLP_ENABLED=true", "-p", "5775:5775/udp", "-p", "6831:6831/udp", "-p", "6832:6832/udp", "-p", "5778:5778", "-p",
"16686:16686", "-p", "14268:14268", "--name", "quarkus_jaeger", "jaegertracing/all-in-one:latest"
},
{ "mvn", "package", "-Pnative", "-Dquarkus.version=" + QUARKUS_VERSION.getVersionString(),
"-Dquarkus.native.additional-build-args=" +
"-H:Log=registerResource:," +
Expand Down

0 comments on commit e9eeb77

Please sign in to comment.