diff --git a/zuul-core/src/test/java/com/netflix/netty/common/NettyTransportTest.java b/zuul-core/src/test/java/com/netflix/netty/common/NettyTransportTest.java new file mode 100644 index 0000000000..4107fe07b1 --- /dev/null +++ b/zuul-core/src/test/java/com/netflix/netty/common/NettyTransportTest.java @@ -0,0 +1,24 @@ +package com.netflix.netty.common; + +import io.netty.channel.epoll.Epoll; +import io.netty.incubator.channel.uring.IOUring; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.condition.EnabledOnOs; +import org.junit.jupiter.api.condition.OS; + +import static org.junit.jupiter.api.Assertions.assertTrue; + +class NettyTransportTest { + + @Test + @EnabledOnOs(value = {OS.LINUX}) + void epollIsAvailableOnLinux() { + assertTrue(Epoll.isAvailable()); + } + + @Test + @EnabledOnOs(value = {OS.LINUX}) + void ioUringIsAvailableOnLinux() { + assertTrue(IOUring.isAvailable()); + } +} \ No newline at end of file