diff options
author | Eric Wong <bofh@yhbt.net> | 2021-03-15 02:03:50 -0400 |
---|---|---|
committer | Eric Wong <bofh@yhbt.net> | 2021-03-15 02:03:50 -0400 |
commit | 9c4963c8b1f96fa6afcfa8ec61f81f9997e926e7 (patch) | |
tree | 0b024787954128ca4fc76d0d41dbdacf6254323d /test/unit/test_socket_helper.rb | |
parent | 2c9038cdc129272161336c0bd4facf61a681062e (diff) | |
parent | ea5295e8e4dcfaec24efb5030557594aabe645cb (diff) | |
download | unicorn-v6-wip.tar.gz |
* origin/master: tests: force blocking I/O for Ruby 3.x
Diffstat (limited to 'test/unit/test_socket_helper.rb')
-rw-r--r-- | test/unit/test_socket_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/test_socket_helper.rb b/test/unit/test_socket_helper.rb index fbc7bb9..62d5a3a 100644 --- a/test/unit/test_socket_helper.rb +++ b/test/unit/test_socket_helper.rb @@ -116,7 +116,7 @@ class TestSocketHelper < Test::Unit::TestCase client.syswrite('abcde') exit 0 end - s = UNIXSocket.new(@unix_listener_path) + s = unix_socket(@unix_listener_path) IO.select([s]) assert_equal 'abcde', s.sysread(5) pid, status = Process.waitpid2(pid) |