From 03f703177fbfa176421516edaa45903702074b7f Mon Sep 17 00:00:00 2001 From: Alfred Cepeda Date: Tue, 20 Sep 2016 23:16:36 -0400 Subject: [PATCH] test: remove call to `net.Socket.resume()` In test parallel/child-process-fork-net2 `net.Socket.resume()` is not necessary since `net.Socket.pause()` is never called. PR-URL: https://github.com/nodejs/node/pull/8679 Refs: https://github.com/nodejs/node/issues/4640 Reviewed-By: James M Snell Reviewed-By: Gibson Fahnestock Reviewed-By: Ilkka Myller --- test/parallel/test-child-process-fork-net2.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/parallel/test-child-process-fork-net2.js b/test/parallel/test-child-process-fork-net2.js index 454769b875..ed977aaaf4 100644 --- a/test/parallel/test-child-process-fork-net2.js +++ b/test/parallel/test-child-process-fork-net2.js @@ -109,10 +109,6 @@ if (process.argv[2] === 'child') { console.error('[m] CLIENT: close event'); disconnected += 1; }); - // XXX This resume() should be unnecessary. - // a stream high water mark should be enough to keep - // consuming the input. - client.resume(); } });