From 272e9a5998fc631418642aed7ec64e3a9157d089 Mon Sep 17 00:00:00 2001 From: Sehrope Sarkuni Date: Thu, 3 May 2018 07:57:47 -0400 Subject: [PATCH] Change network partition test to use socket.destroy() --- test/integration/client/network-partition-tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/client/network-partition-tests.js b/test/integration/client/network-partition-tests.js index 95eca8e7..70dcc92b 100644 --- a/test/integration/client/network-partition-tests.js +++ b/test/integration/client/network-partition-tests.js @@ -46,7 +46,7 @@ Server.prototype.start = function (cb) { } Server.prototype.drop = function () { - this.socket.end() + this.socket.destroy() } Server.prototype.close = function (cb) {