Fix vertx-reactive latest dep test (#4782)
This commit is contained in:
parent
31a258476a
commit
c1abc01b2f
|
@ -87,7 +87,7 @@ class VertxRxCircuitBreakerWebClientTest extends HttpClientTest<HttpRequest<?>>
|
||||||
String expectedClientSpanName(URI uri, String method) {
|
String expectedClientSpanName(URI uri, String method) {
|
||||||
switch (uri.toString()) {
|
switch (uri.toString()) {
|
||||||
case "http://localhost:61/": // unopened port
|
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"
|
return "CONNECT"
|
||||||
default:
|
default:
|
||||||
return super.expectedClientSpanName(uri, method)
|
return super.expectedClientSpanName(uri, method)
|
||||||
|
@ -98,7 +98,7 @@ class VertxRxCircuitBreakerWebClientTest extends HttpClientTest<HttpRequest<?>>
|
||||||
Set<AttributeKey<?>> httpAttributes(URI uri) {
|
Set<AttributeKey<?>> httpAttributes(URI uri) {
|
||||||
switch (uri.toString()) {
|
switch (uri.toString()) {
|
||||||
case "http://localhost:61/": // unopened port
|
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 []
|
||||||
}
|
}
|
||||||
return super.httpAttributes(uri)
|
return super.httpAttributes(uri)
|
||||||
|
|
|
@ -61,7 +61,7 @@ class VertxRxWebClientTest extends HttpClientTest<HttpRequest<Buffer>> implement
|
||||||
String expectedClientSpanName(URI uri, String method) {
|
String expectedClientSpanName(URI uri, String method) {
|
||||||
switch (uri.toString()) {
|
switch (uri.toString()) {
|
||||||
case "http://localhost:61/": // unopened port
|
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"
|
return "CONNECT"
|
||||||
default:
|
default:
|
||||||
return super.expectedClientSpanName(uri, method)
|
return super.expectedClientSpanName(uri, method)
|
||||||
|
@ -73,7 +73,7 @@ class VertxRxWebClientTest extends HttpClientTest<HttpRequest<Buffer>> implement
|
||||||
if (exception.class == RuntimeException) {
|
if (exception.class == RuntimeException) {
|
||||||
switch (uri.toString()) {
|
switch (uri.toString()) {
|
||||||
case "http://localhost:61/": // unopened port
|
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()
|
exception = exception.getCause()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -84,7 +84,7 @@ class VertxRxWebClientTest extends HttpClientTest<HttpRequest<Buffer>> implement
|
||||||
Set<AttributeKey<?>> httpAttributes(URI uri) {
|
Set<AttributeKey<?>> httpAttributes(URI uri) {
|
||||||
switch (uri.toString()) {
|
switch (uri.toString()) {
|
||||||
case "http://localhost:61/": // unopened port
|
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 []
|
||||||
}
|
}
|
||||||
return super.httpAttributes(uri)
|
return super.httpAttributes(uri)
|
||||||
|
|
Loading…
Reference in New Issue