summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2023-10-25 20:37:21 +0900
committerYusuke Endoh <mame@ruby-lang.org>2023-10-25 20:37:21 +0900
commitf26d53e90533232ac35ca0eae2ca7766c2af5ebb (patch)
tree01b2881ef3f774a2dd0621a33f2c16490fa7f9ea /test/ruby
parentde82439215dd2770ef9a3a2cf5798bdadb788533 (diff)
Reduce the number of times IO is passed in send_io/recv_io test
Since Linux 4.5, sendmsg(2) fails with ETOOMANYREFS if the number of "in-flight" IOs, which has been sent by sendmsg(2) but has not yet accepted by recvmsg(2), exceeds the RLIMIT_NOFILE resource limit. https://rubyci.s3.amazonaws.com/arm64-neoverse-n1/ruby-master/log/20231025T090004Z.fail.html.gz ``` 1) Error: TestSocket_UNIXSocket#test_fd_passing_race_condition: Errno::ETOOMANYREFS: Too many references: cannot splice - sendmsg(2) ``` This change reduces the number of times of IO passing under 1024, which is a default limit in many environments.
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions