Skip to content

Commit

Permalink
Fix vertx-reactive latest dep test (#4782)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurit committed Dec 2, 2021
1 parent 31a2584 commit c1abc01
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class VertxRxCircuitBreakerWebClientTest extends HttpClientTest<HttpRequest<?>>
String expectedClientSpanName(URI uri, String method) {
switch (uri.toString()) {
case "http:https://localhost:61/": // unopened port
case "https:https://192.0.2.1/": // non routable address
case "http:https://192.0.2.1/": // non routable address
return "CONNECT"
default:
return super.expectedClientSpanName(uri, method)
Expand All @@ -98,7 +98,7 @@ class VertxRxCircuitBreakerWebClientTest extends HttpClientTest<HttpRequest<?>>
Set<AttributeKey<?>> httpAttributes(URI uri) {
switch (uri.toString()) {
case "http:https://localhost:61/": // unopened port
case "https:https://192.0.2.1/": // non routable address
case "http:https://192.0.2.1/": // non routable address
return []
}
return super.httpAttributes(uri)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class VertxRxWebClientTest extends HttpClientTest<HttpRequest<Buffer>> implement
String expectedClientSpanName(URI uri, String method) {
switch (uri.toString()) {
case "http:https://localhost:61/": // unopened port
case "https:https://192.0.2.1/": // non routable address
case "http:https://192.0.2.1/": // non routable address
return "CONNECT"
default:
return super.expectedClientSpanName(uri, method)
Expand All @@ -73,7 +73,7 @@ class VertxRxWebClientTest extends HttpClientTest<HttpRequest<Buffer>> implement
if (exception.class == RuntimeException) {
switch (uri.toString()) {
case "http:https://localhost:61/": // unopened port
case "https:https://192.0.2.1/": // non routable address
case "http:https://192.0.2.1/": // non routable address
exception = exception.getCause()
}
}
Expand All @@ -84,7 +84,7 @@ class VertxRxWebClientTest extends HttpClientTest<HttpRequest<Buffer>> implement
Set<AttributeKey<?>> httpAttributes(URI uri) {
switch (uri.toString()) {
case "http:https://localhost:61/": // unopened port
case "https:https://192.0.2.1/": // non routable address
case "http:https://192.0.2.1/": // non routable address
return []
}
return super.httpAttributes(uri)
Expand Down

0 comments on commit c1abc01

Please sign in to comment.