summaryrefslogtreecommitdiff
path: root/test/parallel/test-stream-pipeline.js
diff options
context:
space:
mode:
authorAnatoli Papirovski <apapirovski@mac.com>2018-06-04 17:38:23 +0000
committerAnatoli Papirovski <apapirovski@mac.com>2018-06-07 09:41:36 -0400
commit6858ab5d01084d93c75ddac3017017b8a870bc1d (patch)
tree47df5534cd19e0d37b8cec0bd6ea73fc27f16bdb /test/parallel/test-stream-pipeline.js
parent5012587b1aa228943435fb709887ae2bf17ec283 (diff)
downloadandroid-node-v8-6858ab5d01084d93c75ddac3017017b8a870bc1d.tar.gz
android-node-v8-6858ab5d01084d93c75ddac3017017b8a870bc1d.tar.bz2
android-node-v8-6858ab5d01084d93c75ddac3017017b8a870bc1d.zip
test: remove unref in http2 test
The bug referenced in this TODO was fixed and this test no longer requires this code to pass. PR-URL: https://github.com/nodejs/node/pull/21145 Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'test/parallel/test-stream-pipeline.js')
-rw-r--r--test/parallel/test-stream-pipeline.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/parallel/test-stream-pipeline.js b/test/parallel/test-stream-pipeline.js
index b52d60529b..12733d88a7 100644
--- a/test/parallel/test-stream-pipeline.js
+++ b/test/parallel/test-stream-pipeline.js
@@ -281,12 +281,6 @@ common.crashOnUnhandledRejection();
});
pipeline(rs, req, common.mustCall((err) => {
- // TODO: this is working around an http2 bug
- // where the client keeps the event loop going
- // (replacing the rs.destroy() with req.end()
- // exits it so seems to be a destroy bug there
- client.unref();
-
server.close();
client.close();
}));