From 7baacb56a9a0d93c3347d0e0f1c284b2d7b5fdda Mon Sep 17 00:00:00 2001 From: Ryan Date: Mon, 20 Apr 2009 18:46:09 +0200 Subject: [PATCH] ensure socket closure in very old test scripts --- test/common.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/common.rb b/test/common.rb index 94759627aa..895f2c0e2c 100644 --- a/test/common.rb +++ b/test/common.rb @@ -26,6 +26,8 @@ def wait_for_server(host, port) $stderr.print "." if $DEBUG $stderr.flush sleep 0.2 + ensure + socket.close end end end