From d60353f80bbbcba128a2c51066e107365270e878 Mon Sep 17 00:00:00 2001 From: cronopio Date: Mon, 21 Oct 2013 23:22:59 -0500 Subject: [PATCH] [tests] tests fixed --- test/lib-http-proxy-test.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/lib-http-proxy-test.js b/test/lib-http-proxy-test.js index c592728d1..cc772b863 100644 --- a/test/lib-http-proxy-test.js +++ b/test/lib-http-proxy-test.js @@ -161,6 +161,8 @@ describe('lib/http-proxy.js', function() { testReq.on('error', function (e) { expect(e).to.be.an(Error); expect(e.code).to.be.eql('ECONNRESET'); + proxy._server.close(); + source.close(); done(); });