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 226
226
<scope >test</scope >
227
227
</dependency >
228
228
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
+
229
237
<dependency >
230
238
<groupId >io.netty</groupId >
231
239
<artifactId >netty-tcnative-boringssl-static</artifactId >
Original file line number Diff line number Diff line change 58
58
import io .netty .channel .epoll .EpollSocketChannel ;
59
59
import io .netty .channel .kqueue .KQueueIoHandler ;
60
60
import io .netty .channel .kqueue .KQueueSocketChannel ;
61
+ import io .netty .channel .uring .IoUringIoHandler ;
62
+ import io .netty .channel .uring .IoUringSocketChannel ;
61
63
import io .netty .handler .ssl .SslHandler ;
62
64
import java .net .ConnectException ;
63
65
import java .nio .charset .StandardCharsets ;
@@ -749,6 +751,13 @@ void nativeEpollWorksOnLinux() {
749
751
nativeIo (EpollIoHandler .newFactory (), EpollSocketChannel .class );
750
752
}
751
753
754
+ @ Test
755
+ @ EnabledOnOs (OS .LINUX )
756
+ @ EnabledIfSystemProperty (named = "os.arch" , matches = "amd64" )
757
+ void nativeIoUringWorksOnLinux () {
758
+ nativeIo (IoUringIoHandler .newFactory (), IoUringSocketChannel .class );
759
+ }
760
+
752
761
@ Test
753
762
@ EnabledOnOs (OS .MAC )
754
763
@ EnabledIfSystemProperty (named = "os.arch" , matches = "aarch64" )
You can’t perform that action at this time.
0 commit comments