about summary refs log tree commit homepage
path: root/test/unit/test_socket_helper.rb
diff options
context:
space:
mode:
authorEric Wong <bofh@yhbt.net>2021-03-15 02:03:50 -0400
committerEric Wong <bofh@yhbt.net>2021-03-15 02:03:50 -0400
commit9c4963c8b1f96fa6afcfa8ec61f81f9997e926e7 (patch)
tree0b024787954128ca4fc76d0d41dbdacf6254323d /test/unit/test_socket_helper.rb
parent2c9038cdc129272161336c0bd4facf61a681062e (diff)
parentea5295e8e4dcfaec24efb5030557594aabe645cb (diff)
downloadunicorn-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.rb2
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)