diff options
author | Luigi Pinca <luigipinca@gmail.com> | 2019-10-10 21:30:12 +0200 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-10-12 17:08:43 -0700 |
commit | 19a8d22c77f55858d8dfb1fa593837112fb4aad2 (patch) | |
tree | b6416f3808dae9258eb6ed58db7064d6d1604ada /test/parallel/test-http-set-trailers.js | |
parent | 02b3722b30f9219491587376abb11c1489e512c7 (diff) | |
download | android-node-v8-19a8d22c77f55858d8dfb1fa593837112fb4aad2.tar.gz android-node-v8-19a8d22c77f55858d8dfb1fa593837112fb4aad2.tar.bz2 android-node-v8-19a8d22c77f55858d8dfb1fa593837112fb4aad2.zip |
test: do not force the process to exit
Using `process.exit()` in these tests is unnecessary and may mask other
problems.
Refs: https://github.com/nodejs/node/pull/29873#pullrequestreview-298851847
PR-URL: https://github.com/nodejs/node/pull/29923
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Diffstat (limited to 'test/parallel/test-http-set-trailers.js')
-rw-r--r-- | test/parallel/test-http-set-trailers.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/test/parallel/test-http-set-trailers.js b/test/parallel/test-http-set-trailers.js index 9068ef8f76..921c456bda 100644 --- a/test/parallel/test-http-set-trailers.js +++ b/test/parallel/test-http-set-trailers.js @@ -61,7 +61,6 @@ server.on('listening', function() { outstanding_reqs--; if (outstanding_reqs === 0) { server.close(); - process.exit(); } }); }); @@ -91,7 +90,6 @@ server.on('listening', function() { ); if (outstanding_reqs === 0) { server.close(); - process.exit(); } } }); @@ -110,7 +108,6 @@ server.on('listening', function() { outstanding_reqs--; if (outstanding_reqs === 0) { server.close(); - process.exit(); } }); res.resume(); |