Skip to content

Commit 430e76c

Browse files
remove test which targets a blocked port at google.com
1 parent 7ead7f1 commit 430e76c

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

dd-java-agent/testing/src/main/groovy/datadog/trace/agent/test/base/HttpClientTest.groovy

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -423,31 +423,6 @@ abstract class HttpClientTest extends AgentTestRunner {
423423
method = "GET"
424424
}
425425

426-
def "connection error dropped request"() {
427-
given:
428-
assumeTrue(testRemoteConnection())
429-
// https://stackoverflow.com/a/100859
430-
def uri = new URI("http://www.google.com:81/")
431-
432-
when:
433-
runUnderTrace("parent") {
434-
doRequest(method, uri)
435-
}
436-
437-
then:
438-
def ex = thrown(Exception)
439-
def thrownException = ex instanceof ExecutionException ? ex.cause : ex
440-
assertTraces(1) {
441-
trace(size(2)) {
442-
basicSpan(it, "parent", null, thrownException)
443-
clientSpan(it, span(0), method, false, false, uri, null, thrownException)
444-
}
445-
}
446-
447-
where:
448-
method = "HEAD"
449-
}
450-
451426
def "connection error non routable address"() {
452427
given:
453428
assumeTrue(testRemoteConnection())

0 commit comments

Comments
 (0)