Fix tests

This commit is contained in:
Brian Devins-Suresh 2020-03-25 16:29:01 -04:00
parent de4b6d7733
commit 4ac364d92a
2 changed files with 11 additions and 1 deletions

View File

@ -62,6 +62,11 @@ class Netty38ClientTest extends HttpClientTest {
false false
} }
@Override
boolean testRemoteConnection() {
return false
}
def "connection error (unopened port)"() { def "connection error (unopened port)"() {
given: given:
def uri = new URI("http://localhost:$UNUSABLE_PORT/") def uri = new URI("http://localhost:$UNUSABLE_PORT/")

View File

@ -21,7 +21,7 @@ class Netty38ClientTest extends HttpClientTest {
def clientConfig = new AsyncHttpClientConfig.Builder() def clientConfig = new AsyncHttpClientConfig.Builder()
.setRequestTimeoutInMs(TimeUnit.SECONDS.toMillis(10).toInteger()) .setRequestTimeoutInMs(TimeUnit.SECONDS.toMillis(10).toInteger())
.build() .build()
@Shared @Shared
@AutoCleanup @AutoCleanup
AsyncHttpClient asyncHttpClient = new AsyncHttpClient(clientConfig) AsyncHttpClient asyncHttpClient = new AsyncHttpClient(clientConfig)
@ -62,6 +62,11 @@ class Netty38ClientTest extends HttpClientTest {
false false
} }
@Override
boolean testRemoteConnection() {
return false
}
def "connection error (unopened port)"() { def "connection error (unopened port)"() {
given: given:
def uri = new URI("http://localhost:$UNUSABLE_PORT/") def uri = new URI("http://localhost:$UNUSABLE_PORT/")