File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
rabbitmq_stream_management/test/http_SUITE_data/src/test/java/com/rabbitmq/stream
rabbitmq_stream/test/rabbit_stream_SUITE_data/src/test/java/com/rabbitmq/stream Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 2525import com .rabbitmq .stream .impl .Client ;
2626import com .rabbitmq .stream .impl .Client .Response ;
2727import io .netty .channel .EventLoopGroup ;
28- import io .netty .channel .nio .NioEventLoopGroup ;
28+ import io .netty .channel .MultiThreadIoEventLoopGroup ;
29+ import io .netty .channel .nio .NioIoHandler ;
2930import java .lang .reflect .Field ;
3031import java .lang .reflect .Method ;
3132import java .time .Duration ;
@@ -91,7 +92,8 @@ private static EventLoopGroup eventLoopGroup(ExtensionContext context) {
9192
9293 @ Override
9394 public void beforeAll (ExtensionContext context ) {
94- store (context ).put ("nettyEventLoopGroup" , new NioEventLoopGroup ());
95+ store (context )
96+ .put ("nettyEventLoopGroup" , new MultiThreadIoEventLoopGroup (NioIoHandler .newFactory ()));
9597 }
9698
9799 @ Override
Original file line number Diff line number Diff line change 2323
2424import com .rabbitmq .stream .impl .Client ;
2525import io .netty .channel .EventLoopGroup ;
26- import io .netty .channel .nio .NioEventLoopGroup ;
26+ import io .netty .channel .MultiThreadIoEventLoopGroup ;
27+ import io .netty .channel .nio .NioIoHandler ;
2728import java .lang .reflect .Field ;
2829import java .lang .reflect .Method ;
2930import java .security .cert .X509Certificate ;
@@ -115,7 +116,8 @@ private static EventLoopGroup eventLoopGroup(ExtensionContext context) {
115116
116117 @ Override
117118 public void beforeAll (ExtensionContext context ) {
118- store (context ).put ("nettyEventLoopGroup" , new NioEventLoopGroup ());
119+ store (context )
120+ .put ("nettyEventLoopGroup" , new MultiThreadIoEventLoopGroup (NioIoHandler .newFactory ()));
119121 }
120122
121123 @ Override
You can’t perform that action at this time.
0 commit comments