Fix tests
This commit is contained in:
parent
de4b6d7733
commit
4ac364d92a
|
@ -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/")
|
||||
|
|
|
@ -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/")
|
||||
|
|
Loading…
Reference in New Issue