Skip to content

Commit 0490ecd

Browse files
committed
fix slash
1 parent fa7eca6 commit 0490ecd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

instrumentation/ratpack/ratpack-1.7/library/src/test/java/io/opentelemetry/instrumentation/ratpack/v1_7/client/InstrumentedHttpClientTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ void testPropagateTraceWithHttpCalls() throws Exception {
123123
equalTo(HTTP_RESPONSE_STATUS_CODE, 200L),
124124
satisfies(SERVER_PORT, v -> v.isInstanceOf(Long.class)),
125125
equalTo(SERVER_ADDRESS, "localhost"),
126-
equalTo(URL_FULL, otherApp.getAddress() + "/bar")),
126+
equalTo(URL_FULL, otherApp.getAddress() + "bar")),
127127
span ->
128128
span.hasName("GET /bar")
129129
.hasParent(trace.getSpan(1))
@@ -212,7 +212,7 @@ void testAddSpansForMultipleConcurrentClientCalls() throws Exception {
212212
equalTo(HTTP_RESPONSE_STATUS_CODE, 200L),
213213
satisfies(SERVER_PORT, v -> v.isInstanceOf(Long.class)),
214214
equalTo(SERVER_ADDRESS, "localhost"),
215-
equalTo(URL_FULL, otherApp.getAddress() + "/foo")),
215+
equalTo(URL_FULL, otherApp.getAddress() + "foo")),
216216
span ->
217217
span.hasName("GET")
218218
.hasParent(trace.getSpan(0))
@@ -223,7 +223,7 @@ void testAddSpansForMultipleConcurrentClientCalls() throws Exception {
223223
equalTo(HTTP_RESPONSE_STATUS_CODE, 200L),
224224
satisfies(SERVER_PORT, v -> v.isInstanceOf(Long.class)),
225225
equalTo(SERVER_ADDRESS, "localhost"),
226-
equalTo(URL_FULL, otherApp.getAddress() + "/bar"))));
226+
equalTo(URL_FULL, otherApp.getAddress() + "bar"))));
227227
}
228228

229229
@Test
@@ -298,7 +298,7 @@ void testHandlingExceptionErrorsInHttpClient() throws Exception {
298298
equalTo(ERROR_TYPE, HttpClientReadTimeoutException.class.getName()),
299299
satisfies(SERVER_PORT, v -> v.isInstanceOf(Long.class)),
300300
equalTo(SERVER_ADDRESS, "localhost"),
301-
equalTo(URL_FULL, otherApp.getAddress() + "/foo"))));
301+
equalTo(URL_FULL, otherApp.getAddress() + "foo"))));
302302
}
303303

304304
private static Stream<Arguments> provideArguments() {

0 commit comments

Comments
 (0)