about summary refs log tree commit homepage
path: root/test
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2013-10-30 01:50:22 +0000
committerEric Wong <normalperson@yhbt.net>2013-10-30 07:01:06 +0000
commitf5e181e2c23b432163b1924b8325bd34db2ca5b0 (patch)
tree2abbe5651b85f62ce46f7e4d5481575da1a95b3e /test
parent03c193bf6c742ea445e74a009d2502d2a6bda9f8 (diff)
downloadyahns-f5e181e2c23b432163b1924b8325bd34db2ca5b0.tar.gz
Hopefully saves us from running out of FDs when doing parallel
tests.
Diffstat (limited to 'test')
-rw-r--r--test/test_unix_socket.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_unix_socket.rb b/test/test_unix_socket.rb
index 374781c..337ccba 100644
--- a/test/test_unix_socket.rb
+++ b/test/test_unix_socket.rb
@@ -40,6 +40,7 @@ class TestUnixSocket < Testcase
     st = File.stat(sock)
     assert st.world_readable?
     assert st.world_writable?
+    c.close
   ensure
     quit_wait(pid)
     FileUtils.rm_rf(tmpdir)