Skip to content

Commit 272e9a5

Browse files
sehropebrianc
authored andcommitted
Change network partition test to use socket.destroy()
1 parent b0c60cf commit 272e9a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/client/network-partition-tests.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Server.prototype.start = function (cb) {
4646
}
4747

4848
Server.prototype.drop = function () {
49-
this.socket.end()
49+
this.socket.destroy()
5050
}
5151

5252
Server.prototype.close = function (cb) {

0 commit comments

Comments
 (0)