Fix vertx-reactive latest dep test (#4782)

This commit is contained in:
Lauri Tulmin 2021-12-02 12:25:23 +02:00 committed by GitHub
parent 31a258476a
commit c1abc01b2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -87,7 +87,7 @@ class VertxRxCircuitBreakerWebClientTest extends HttpClientTest<HttpRequest<?>>
String expectedClientSpanName(URI uri, String method) {
switch (uri.toString()) {
case "http://localhost:61/": // unopened port
case "https://192.0.2.1/": // non routable address
case "http://192.0.2.1/": // non routable address
return "CONNECT"
default:
return super.expectedClientSpanName(uri, method)
@ -98,7 +98,7 @@ class VertxRxCircuitBreakerWebClientTest extends HttpClientTest<HttpRequest<?>>
Set<AttributeKey<?>> httpAttributes(URI uri) {
switch (uri.toString()) {
case "http://localhost:61/": // unopened port
case "https://192.0.2.1/": // non routable address
case "http://192.0.2.1/": // non routable address
return []
}
return super.httpAttributes(uri)

View File

@ -61,7 +61,7 @@ class VertxRxWebClientTest extends HttpClientTest<HttpRequest<Buffer>> implement
String expectedClientSpanName(URI uri, String method) {
switch (uri.toString()) {
case "http://localhost:61/": // unopened port
case "https://192.0.2.1/": // non routable address
case "http://192.0.2.1/": // non routable address
return "CONNECT"
default:
return super.expectedClientSpanName(uri, method)
@ -73,7 +73,7 @@ class VertxRxWebClientTest extends HttpClientTest<HttpRequest<Buffer>> implement
if (exception.class == RuntimeException) {
switch (uri.toString()) {
case "http://localhost:61/": // unopened port
case "https://192.0.2.1/": // non routable address
case "http://192.0.2.1/": // non routable address
exception = exception.getCause()
}
}
@ -84,7 +84,7 @@ class VertxRxWebClientTest extends HttpClientTest<HttpRequest<Buffer>> implement
Set<AttributeKey<?>> httpAttributes(URI uri) {
switch (uri.toString()) {
case "http://localhost:61/": // unopened port
case "https://192.0.2.1/": // non routable address
case "http://192.0.2.1/": // non routable address
return []
}
return super.httpAttributes(uri)