diff --git a/library/socket/basicsocket/recv_nonblock_spec.rb b/library/socket/basicsocket/recv_nonblock_spec.rb index 001d2d74a..5bdbbfe68 100644 --- a/library/socket/basicsocket/recv_nonblock_spec.rb +++ b/library/socket/basicsocket/recv_nonblock_spec.rb @@ -113,6 +113,7 @@ end ruby_version_is ""..."3.3" do + quarantine! do # May fail with "IO::EAGAINWaitReadable: Resource temporarily unavailable - recvfrom(2) would block" error it "returns an empty String on a closed stream socket" do ready = false @@ -134,6 +135,7 @@ t.value.should == "" end + end end ruby_version_is "3.3" do diff --git a/library/socket/basicsocket/recvmsg_nonblock_spec.rb b/library/socket/basicsocket/recvmsg_nonblock_spec.rb index badafae81..dca2f0948 100644 --- a/library/socket/basicsocket/recvmsg_nonblock_spec.rb +++ b/library/socket/basicsocket/recvmsg_nonblock_spec.rb @@ -236,6 +236,7 @@ end ruby_version_is ""..."3.3" do + quarantine! do # May fail with "IO::EAGAINWaitReadable: Resource temporarily unavailable - recvfrom(2) would block" error it "returns an empty String as received data on a closed stream socket" do ready = false @@ -258,6 +259,7 @@ t.value.should.is_a? Array t.value[0].should == "" end + end end ruby_version_is "3.3" do diff --git a/library/socket/socket/recvfrom_nonblock_spec.rb b/library/socket/socket/recvfrom_nonblock_spec.rb index 8535e3b4f..ade655e44 100644 --- a/library/socket/socket/recvfrom_nonblock_spec.rb +++ b/library/socket/socket/recvfrom_nonblock_spec.rb @@ -159,6 +159,7 @@ end ruby_version_is ""..."3.3" do + quarantine! do # May fail with "IO::EAGAINWaitReadable: Resource temporarily unavailable - recvfrom(2) would block" error it "returns an empty String as received data on a closed stream socket" do ready = false @@ -181,9 +182,11 @@ t.value.should.is_a? Array t.value[0].should == "" end + end end ruby_version_is "3.3" do + quarantine! do # May fail with "IO::EAGAINWaitReadable: Resource temporarily unavailable - recvfrom(2) would block" error it "returns nil on a closed stream socket" do ready = false @@ -205,6 +208,7 @@ t.value.should be_nil end + end end end end