Increase request timeout in netty client tests
Otherwise requests timeout and tests fail
This commit is contained in:
parent
b58606d601
commit
a5d8c3fc7d
|
@ -27,7 +27,7 @@ class Netty40ClientTest extends AgentTestRunner {
|
|||
}
|
||||
}
|
||||
@Shared
|
||||
def clientConfig = DefaultAsyncHttpClientConfig.Builder.newInstance().setRequestTimeout(TimeUnit.SECONDS.toMillis(5).toInteger())
|
||||
def clientConfig = DefaultAsyncHttpClientConfig.Builder.newInstance().setRequestTimeout(TimeUnit.SECONDS.toMillis(10).toInteger())
|
||||
@Shared
|
||||
AsyncHttpClient asyncHttpClient = asyncHttpClient(clientConfig)
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ class Netty41ClientTest extends AgentTestRunner {
|
|||
}
|
||||
}
|
||||
@Shared
|
||||
def clientConfig = DefaultAsyncHttpClientConfig.Builder.newInstance().setRequestTimeout(TimeUnit.SECONDS.toMillis(5).toInteger())
|
||||
def clientConfig = DefaultAsyncHttpClientConfig.Builder.newInstance().setRequestTimeout(TimeUnit.SECONDS.toMillis(10).toInteger())
|
||||
@Shared
|
||||
AsyncHttpClient asyncHttpClient = asyncHttpClient(clientConfig)
|
||||
|
||||
|
|
Loading…
Reference in New Issue