From b566f0ebecc7fd51e1ddb556cd96a96ad97dd144 Mon Sep 17 00:00:00 2001 From: Rostislav Svoboda Date: Tue, 1 Mar 2022 21:26:07 +0100 Subject: [PATCH] Use leading slash in Span name Sort of breaking change introduced in https://github.com/quarkusio/quarkus/pull/24018 --- .../quarkus/qe/vertx/webclient/ChuckNorrisResourceTest.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/300-quarkus-vertx-webClient/src/test/java/io/quarkus/qe/vertx/webclient/ChuckNorrisResourceTest.java b/300-quarkus-vertx-webClient/src/test/java/io/quarkus/qe/vertx/webclient/ChuckNorrisResourceTest.java index bb7ac1a0..857bcbec 100644 --- a/300-quarkus-vertx-webClient/src/test/java/io/quarkus/qe/vertx/webclient/ChuckNorrisResourceTest.java +++ b/300-quarkus-vertx-webClient/src/test/java/io/quarkus/qe/vertx/webclient/ChuckNorrisResourceTest.java @@ -21,7 +21,6 @@ import org.apache.http.HttpStatus; import org.hamcrest.Matcher; -import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; @@ -89,7 +88,7 @@ public void getTimeoutWhenResponseItsTooSlow() { @Test public void endpointShouldTrace() { final int pageLimit = 50; - final String expectedOperationName = "trace/ping"; + final String expectedOperationName = "/trace/ping"; await().atMost(1, TimeUnit.MINUTES).pollInterval(Duration.ofSeconds(1)).untilAsserted(() -> { whenIMakePingRequest(); thenRetrieveTraces(pageLimit, "1h", getServiceName(), expectedOperationName); @@ -103,10 +102,9 @@ public void endpointShouldTrace() { } @Test - @Disabled("https://github.com/quarkusio/quarkus/issues/16507") public void httpClientShouldHaveHisOwnSpan() { final int pageLimit = 50; - final String expectedOperationName = "trace/ping"; + final String expectedOperationName = "/trace/ping"; await().atMost(1, TimeUnit.MINUTES).pollInterval(Duration.ofSeconds(1)).untilAsserted(() -> { whenIMakePingRequest(); thenRetrieveTraces(pageLimit, "1h", getServiceName(), expectedOperationName);