Skip to content

Commit 2754e7b

Browse files
committed
Fix compilation error.
1 parent 1a60826 commit 2754e7b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

providers/netty/src/test/java/org/asynchttpclient/providers/netty/RetryNonBlockingIssue.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -183,12 +183,8 @@ public void testRetryNonBlockingAsyncConnect() throws IOException, InterruptedEx
183183
bc.setMaximumConnectionsTotal(100);
184184
bc.setConnectionTimeoutInMs(60000);
185185
bc.setRequestTimeoutInMs(30000);
186+
bc.setAsyncConnectMode(true);
186187

187-
NettyAsyncHttpProviderConfig config = new
188-
NettyAsyncHttpProviderConfig();
189-
config.setAsyncConnect(true);
190-
191-
bc.setAsyncHttpClientProviderConfig(config);
192188
c = new AsyncHttpClient(bc.build());
193189

194190
for (int i = 0; i < 32; i++) {

0 commit comments

Comments
 (0)