Skip to content

Commit d9a6d4a

Browse files
ALJCepedaimyller
authored andcommitted
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: #8679 Refs: #4640 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: Ilkka Myller <[email protected]>
1 parent 0c64552 commit d9a6d4a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/parallel/test-child-process-fork-net2.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,6 @@ if (process.argv[2] === 'child') {
109109
console.error('[m] CLIENT: close event');
110110
disconnected += 1;
111111
});
112-
// XXX This resume() should be unnecessary.
113-
// a stream high water mark should be enough to keep
114-
// consuming the input.
115-
client.resume();
116112
}
117113
});
118114

0 commit comments

Comments
 (0)