diff --git a/test/parallel/test-tls-js-stream.js b/test/parallel/test-tls-js-stream.js index e156f446f57de9..292bd4fd9123dd 100644 --- a/test/parallel/test-tls-js-stream.js +++ b/test/parallel/test-tls-js-stream.js @@ -61,6 +61,7 @@ var server = tls.createServer({ socket.end('hello'); socket.resume(); + socket.destroy(); }); socket.once('close', function() {