From 0049ca16cf238e730f636dfd09f40a91db2f3f5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Vav=C5=99=C3=ADk?= Date: Sat, 23 Mar 2024 18:07:10 +0100 Subject: [PATCH] Fix OpenTelemetry REST client operation names --- .../ts/opentelemetry/reactive/OpentelemetryReactiveIT.java | 2 +- .../test/java/io/quarkus/ts/opentelemetry/OpenTelemetryIT.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/monitoring/opentelemetry-reactive/src/test/java/io/quarkus/ts/opentelemetry/reactive/OpentelemetryReactiveIT.java b/monitoring/opentelemetry-reactive/src/test/java/io/quarkus/ts/opentelemetry/reactive/OpentelemetryReactiveIT.java index 9d66879d72..9684b60751 100644 --- a/monitoring/opentelemetry-reactive/src/test/java/io/quarkus/ts/opentelemetry/reactive/OpentelemetryReactiveIT.java +++ b/monitoring/opentelemetry-reactive/src/test/java/io/quarkus/ts/opentelemetry/reactive/OpentelemetryReactiveIT.java @@ -53,7 +53,7 @@ public class OpentelemetryReactiveIT { public void testContextPropagation() { int pageLimit = 10; String operationName = "GET /ping/pong"; - String[] operations = new String[] { "GET /ping/pong", "GET", "GET /hello" }; + String[] operations = new String[] { "GET /ping/pong", "GET /hello", "GET /hello" }; await().atMost(1, TimeUnit.MINUTES).pollInterval(Duration.ofSeconds(1)).untilAsserted(() -> { whenDoPingPongRequest(); diff --git a/monitoring/opentelemetry/src/test/java/io/quarkus/ts/opentelemetry/OpenTelemetryIT.java b/monitoring/opentelemetry/src/test/java/io/quarkus/ts/opentelemetry/OpenTelemetryIT.java index 7177126a8a..5d484f6a55 100644 --- a/monitoring/opentelemetry/src/test/java/io/quarkus/ts/opentelemetry/OpenTelemetryIT.java +++ b/monitoring/opentelemetry/src/test/java/io/quarkus/ts/opentelemetry/OpenTelemetryIT.java @@ -58,7 +58,7 @@ public class OpenTelemetryIT { public void testContextPropagation() { int pageLimit = 10; String operationName = "GET /ping/pong"; - String[] operations = new String[] { "GET /ping/pong", "GET", "GET /hello" }; + String[] operations = new String[] { "GET /ping/pong", "GET /hello", "GET /hello" }; await().atMost(1, TimeUnit.MINUTES).pollInterval(Duration.ofSeconds(1)).untilAsserted(() -> { whenDoPingPongRequest();