From a8cce83f91ab3a5e5480877a314cdf60cf4292c6 Mon Sep 17 00:00:00 2001 From: Sampo Kuokkanen Date: Thu, 29 Oct 2026 14:25:19 +0900 Subject: [PATCH] Skip the priority event test on JRuby. Java NIO has no readiness for priority (out-of-band) data, so JRuby cannot report IO::PRIORITY. --- test/io/event/selector/select.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/io/event/selector/select.rb b/test/io/event/selector/select.rb index a35ef92b..fe6eae3a 100644 --- a/test/io/event/selector/select.rb +++ b/test/io/event/selector/select.rb @@ -139,6 +139,8 @@ with "#select" do it "dispatches priority events" do + skip "Priority events are not supported on JRuby!" if RUBY_ENGINE == "jruby" + server = TCPServer.new("127.0.0.1", 0) client = TCPSocket.new("127.0.0.1", server.addr[1]) socket = server.accept