Browse Source

ensure socket closure in very old test scripts

v0.7.4-release
Ryan 16 years ago
parent
commit
7baacb56a9
  1. 2
      test/common.rb

2
test/common.rb

@ -26,6 +26,8 @@ def wait_for_server(host, port)
$stderr.print "." if $DEBUG $stderr.print "." if $DEBUG
$stderr.flush $stderr.flush
sleep 0.2 sleep 0.2
ensure
socket.close
end end
end end
end end

Loading…
Cancel
Save