File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed
src/test/java/com/rabbitmq/stream/impl Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 226226 <scope >test</scope >
227227 </dependency >
228228
229+ <dependency >
230+ <groupId >io.netty</groupId >
231+ <artifactId >netty-transport-native-io_uring</artifactId >
232+ <version >${netty.version} </version >
233+ <classifier >linux-x86_64</classifier >
234+ <scope >test</scope >
235+ </dependency >
236+
229237 <dependency >
230238 <groupId >io.netty</groupId >
231239 <artifactId >netty-tcnative-boringssl-static</artifactId >
Original file line number Diff line number Diff line change 5858import io .netty .channel .epoll .EpollSocketChannel ;
5959import io .netty .channel .kqueue .KQueueIoHandler ;
6060import io .netty .channel .kqueue .KQueueSocketChannel ;
61+ import io .netty .channel .uring .IoUringIoHandler ;
62+ import io .netty .channel .uring .IoUringSocketChannel ;
6163import io .netty .handler .ssl .SslHandler ;
6264import java .net .ConnectException ;
6365import java .nio .charset .StandardCharsets ;
@@ -749,6 +751,13 @@ void nativeEpollWorksOnLinux() {
749751 nativeIo (EpollIoHandler .newFactory (), EpollSocketChannel .class );
750752 }
751753
754+ @ Test
755+ @ EnabledOnOs (OS .LINUX )
756+ @ EnabledIfSystemProperty (named = "os.arch" , matches = "amd64" )
757+ void nativeIoUringWorksOnLinux () {
758+ nativeIo (IoUringIoHandler .newFactory (), IoUringSocketChannel .class );
759+ }
760+
752761 @ Test
753762 @ EnabledOnOs (OS .MAC )
754763 @ EnabledIfSystemProperty (named = "os.arch" , matches = "aarch64" )
You can’t perform that action at this time.
0 commit comments