Skip to content

Commit 0b0370f

Browse files
apapirovskitargos
authored andcommitted
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: #21145 Reviewed-By: Rich Trott <[email protected]>
1 parent 917960e commit 0b0370f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

test/parallel/test-stream-pipeline.js

-6
Original file line numberDiff line numberDiff line change
@@ -281,12 +281,6 @@ common.crashOnUnhandledRejection();
281281
});
282282

283283
pipeline(rs, req, common.mustCall((err) => {
284-
// TODO: this is working around an http2 bug
285-
// where the client keeps the event loop going
286-
// (replacing the rs.destroy() with req.end()
287-
// exits it so seems to be a destroy bug there
288-
client.unref();
289-
290284
server.close();
291285
client.close();
292286
}));

0 commit comments

Comments
 (0)