Remove references to dropped request test (#3238)

This commit is contained in:
Lauri Tulmin 2021-06-10 16:21:11 +03:00 committed by GitHub
parent 1cc893b009
commit e93ff4d419
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 0 additions and 18 deletions

View File

@ -87,7 +87,6 @@ class Netty38ClientTest extends HttpClientTest<Request> implements AgentTestTrai
String expectedClientSpanName(URI uri, String method) {
switch (uri.toString()) {
case "http://localhost:61/": // unopened port
case "http://www.google.com:81/": // dropped request
case "https://192.0.2.1/": // non routable address
return "CONNECT"
default:
@ -101,7 +100,6 @@ class Netty38ClientTest extends HttpClientTest<Request> implements AgentTestTrai
case "http://localhost:61/": // unopened port
exception = exception.getCause() != null ? exception.getCause() : new ConnectException("Connection refused: localhost/127.0.0.1:61")
break
case "http://www.google.com:81/": // dropped request
case "https://192.0.2.1/": // non routable address
exception = exception.getCause() != null ? exception.getCause() : new ClosedChannelException()
}
@ -112,7 +110,6 @@ class Netty38ClientTest extends HttpClientTest<Request> implements AgentTestTrai
Set<AttributeKey<?>> httpAttributes(URI uri) {
switch (uri.toString()) {
case "http://localhost:61/": // unopened port
case "http://www.google.com:81/": // dropped request
case "https://192.0.2.1/": // non routable address
return []
}

View File

@ -84,7 +84,6 @@ class Netty40ClientTest extends HttpClientTest<DefaultFullHttpRequest> implement
String expectedClientSpanName(URI uri, String method) {
switch (uri.toString()) {
case "http://localhost:61/": // unopened port
case "http://www.google.com:81/": // dropped request
case "https://192.0.2.1/": // non routable address
return "CONNECT"
default:
@ -96,7 +95,6 @@ class Netty40ClientTest extends HttpClientTest<DefaultFullHttpRequest> implement
Set<AttributeKey<?>> httpAttributes(URI uri) {
switch (uri.toString()) {
case "http://localhost:61/": // unopened port
case "http://www.google.com:81/": // dropped request
case "https://192.0.2.1/": // non routable address
return []
}

View File

@ -102,7 +102,6 @@ class Netty41ClientTest extends HttpClientTest<DefaultFullHttpRequest> implement
String expectedClientSpanName(URI uri, String method) {
switch (uri.toString()) {
case "http://localhost:61/": // unopened port
case "http://www.google.com:81/": // dropped request
case "https://192.0.2.1/": // non routable address
return "CONNECT"
default:
@ -114,7 +113,6 @@ class Netty41ClientTest extends HttpClientTest<DefaultFullHttpRequest> implement
Set<AttributeKey<?>> httpAttributes(URI uri) {
switch (uri.toString()) {
case "http://localhost:61/": // unopened port
case "http://www.google.com:81/": // dropped request
case "https://192.0.2.1/": // non routable address
return []
}

View File

@ -111,7 +111,6 @@ class RatpackHttpClientTest extends HttpClientTest<Void> implements AgentTestTra
String expectedClientSpanName(URI uri, String method) {
switch (uri.toString()) {
case "http://localhost:61/": // unopened port
case "http://www.google.com:81/": // dropped request
case "https://192.0.2.1/": // non routable address
return "CONNECT"
default:
@ -122,7 +121,6 @@ class RatpackHttpClientTest extends HttpClientTest<Void> implements AgentTestTra
@Override
void assertClientSpanErrorEvent(SpanAssert spanAssert, URI uri, Throwable exception) {
switch (uri.toString()) {
case "http://www.google.com:81/": // dropped request
case "https://192.0.2.1/": // non routable address
spanAssert.errorEvent(ConnectTimeoutException, ~/connection timed out:/)
return
@ -134,7 +132,6 @@ class RatpackHttpClientTest extends HttpClientTest<Void> implements AgentTestTra
Set<AttributeKey<?>> httpAttributes(URI uri) {
switch (uri.toString()) {
case "http://localhost:61/": // unopened port
case "http://www.google.com:81/": // dropped request
case "https://192.0.2.1/": // non routable address
return []
}

View File

@ -73,7 +73,6 @@ abstract class AbstractReactorNettyHttpClientTest extends HttpClientTest<HttpCli
String expectedClientSpanName(URI uri, String method) {
switch (uri.toString()) {
case "http://localhost:61/": // unopened port
case "http://www.google.com:81/": // dropped request
case "https://192.0.2.1/": // non routable address
return "CONNECT"
default:
@ -86,7 +85,6 @@ abstract class AbstractReactorNettyHttpClientTest extends HttpClientTest<HttpCli
if (exception.class.getName().endsWith("ReactiveException")) {
switch (uri.toString()) {
case "http://localhost:61/": // unopened port
case "http://www.google.com:81/": // dropped request
case "https://192.0.2.1/": // non routable address
exception = exception.getCause()
}
@ -98,7 +96,6 @@ abstract class AbstractReactorNettyHttpClientTest extends HttpClientTest<HttpCli
Set<AttributeKey<?>> httpAttributes(URI uri) {
switch (uri.toString()) {
case "http://localhost:61/": // unopened port
case "http://www.google.com:81/": // dropped request
case "https://192.0.2.1/": // non routable address
return []
}

View File

@ -78,7 +78,6 @@ abstract class AbstractReactorNettyHttpClientTest extends HttpClientTest<HttpCli
String expectedClientSpanName(URI uri, String method) {
switch (uri.toString()) {
case "http://localhost:61/": // unopened port
case "http://www.google.com:81/": // dropped request
case "https://192.0.2.1/": // non routable address
return "CONNECT"
default:
@ -91,7 +90,6 @@ abstract class AbstractReactorNettyHttpClientTest extends HttpClientTest<HttpCli
if (exception.class.getName().endsWith("ReactiveException")) {
switch (uri.toString()) {
case "http://localhost:61/": // unopened port
case "http://www.google.com:81/": // dropped request
case "https://192.0.2.1/": // non routable address
exception = exception.getCause()
}
@ -103,7 +101,6 @@ abstract class AbstractReactorNettyHttpClientTest extends HttpClientTest<HttpCli
Set<AttributeKey<?>> httpAttributes(URI uri) {
switch (uri.toString()) {
case "http://localhost:61/": // unopened port
case "http://www.google.com:81/": // dropped request
case "https://192.0.2.1/": // non routable address
return []
}

View File

@ -66,7 +66,6 @@ class SpringWebfluxHttpClientTest extends HttpClientTest<WebClient.RequestBodySp
exception = exception.getCause()
}
break
case "http://www.google.com:81/": // dropped request
case "https://192.0.2.1/": // non routable address
exception = exception.getCause()
}

View File

@ -61,7 +61,6 @@ class VertxRxWebClientTest extends HttpClientTest<HttpRequest<Buffer>> implement
if (exception.class == RuntimeException) {
switch (uri.toString()) {
case "http://localhost:61/": // unopened port
case "http://www.google.com:81/": // dropped request
case "https://192.0.2.1/": // non routable address
exception = exception.getCause()
}