Skip to content

Commit 25d16d3

Browse files
committed
Change logging level for dockerjava and use MultiThreadIoEventLoopGroup for IoUring
1 parent 070e111 commit 25d16d3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

client/src/test/java/org/asynchttpclient/DefaultAsyncHttpClientTest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,9 @@
1616
package org.asynchttpclient;
1717

1818
import io.github.artsok.RepeatedIfExceptionsTest;
19-
import io.netty.channel.IoEventLoopGroup;
19+
import io.netty.channel.MultiThreadIoEventLoopGroup;
2020
import io.netty.channel.epoll.EpollEventLoopGroup;
2121
import io.netty.channel.kqueue.KQueueEventLoopGroup;
22-
import io.netty.channel.uring.IoUringIoHandler;
2322
import io.netty.util.Timer;
2423
import org.asynchttpclient.cookie.CookieEvictionTask;
2524
import org.asynchttpclient.cookie.CookieStore;
@@ -62,7 +61,7 @@ public void testNativeTransportWithoutEpollOnly() throws Exception {
6261
AsyncHttpClientConfig config = config().setUseNativeTransport(true).setUseOnlyEpollNativeTransport(false).build();
6362
try (DefaultAsyncHttpClient client = (DefaultAsyncHttpClient) asyncHttpClient(config)) {
6463
assertDoesNotThrow(() -> client.prepareGet("https://www.google.com").execute().get());
65-
assertInstanceOf(IoUringIoHandler.class, client.channelManager().getEventLoopGroup());
64+
assertInstanceOf(MultiThreadIoEventLoopGroup.class, client.channelManager().getEventLoopGroup());
6665
}
6766
}
6867

client/src/test/resources/logback-test.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
<logger name="org.eclipse" level="INFO"/>
99
<logger name="org.apache" level="INFO"/>
10+
<logger name="com.github.dockerjava" level="INFO"/>
1011

1112
<root level="DEBUG">
1213
<appender-ref ref="CONSOLE"/>

0 commit comments

Comments
 (0)