Remove references to dropped request test
MODIFY
instrumentation/netty/netty-3.8/javaagent/src/test/groovy/Netty38ClientTest.groovy
instrumentation/netty/netty-3.8/javaagent/src/test/groovy/Netty38ClientTest.groovy
@@ -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 []
}

MODIFY
instrumentation/netty/netty-4.0/javaagent/src/test/groovy/Netty40ClientTest.groovy
instrumentation/netty/netty-4.0/javaagent/src/test/groovy/Netty40ClientTest.groovy
@@ -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 []
}

MODIFY
instrumentation/netty/netty-4.1/javaagent/src/test/groovy/Netty41ClientTest.groovy
instrumentation/netty/netty-4.1/javaagent/src/test/groovy/Netty41ClientTest.groovy
@@ -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 []
}

MODIFY
instrumentation/ratpack-1.4/javaagent/src/test/groovy/client/RatpackHttpClientTest.groovy
instrumentation/ratpack-1.4/javaagent/src/test/groovy/client/RatpackHttpClientTest.groovy
@@ -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 []
}

MODIFY
instrumentation/reactor-netty/reactor-netty-0.9/javaagent/src/test/groovy/io/opentelemetry/javaagent/instrumentation/reactornetty/v0_9/AbstractReactorNettyHttpClientTest.groovy
instrumentation/reactor-netty/reactor-netty-0.9/javaagent/src/test/groovy/io/opentelemetry/javaagent/instrumentation/reactornetty/v0_9/AbstractReactorNettyHttpClientTest.groovy
@@ -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 []
}

MODIFY
instrumentation/reactor-netty/reactor-netty-1.0/javaagent/src/test/groovy/io/opentelemetry/javaagent/instrumentation/reactornetty/v1_0/AbstractReactorNettyHttpClientTest.groovy
instrumentation/reactor-netty/reactor-netty-1.0/javaagent/src/test/groovy/io/opentelemetry/javaagent/instrumentation/reactornetty/v1_0/AbstractReactorNettyHttpClientTest.groovy
@@ -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 []
}

MODIFY
instrumentation/spring/spring-webflux-5.0/javaagent/src/test/groovy/client/SpringWebfluxHttpClientTest.groovy
instrumentation/spring/spring-webflux-5.0/javaagent/src/test/groovy/client/SpringWebfluxHttpClientTest.groovy
@@ -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()
}

MODIFY
instrumentation/vertx-reactive-3.5/javaagent/src/test/groovy/client/VertxRxWebClientTest.groovy
instrumentation/vertx-reactive-3.5/javaagent/src/test/groovy/client/VertxRxWebClientTest.groovy
@@ -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()
}

Remove references to dropped request test (#3238)