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
}
@Override
boolean testRemoteConnection() {
return false
}
def "connection error (unopened port)"() {
given:
def uri = new URI("http://localhost:$UNUSABLE_PORT/")

View File

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