Disable connection pooling in netty38 tests (#5384)
This commit is contained in:
parent
9b9fe6a8b3
commit
9f98a0953a
|
@ -27,6 +27,8 @@ class Netty38ClientTest extends HttpClientTest<Request> implements AgentTestTrai
|
|||
def getClientConfig() {
|
||||
def builder = new AsyncHttpClientConfig.Builder()
|
||||
.setUserAgent("test-user-agent")
|
||||
// with connection pooling is enabled there are occasional failures in high concurrency test
|
||||
.setAllowPoolingConnection(false)
|
||||
|
||||
if (builder.metaClass.getMetaMethod("setConnectTimeout", int) != null) {
|
||||
builder.setConnectTimeout(CONNECT_TIMEOUT_MS)
|
||||
|
|
Loading…
Reference in New Issue