Skip to content

Commit 1a2b3eb

Browse files
ronagBethGriggs
authored andcommitted
stream: fix broken pipeline test
An unfortunate overlap between two PR that by themselves pass CI but together pass a test. #32967 changes so that pipeline does not wait for 'close'. #32968 changed so that all streams are not destroyed. Which made one test fail when expected the stream to be destroyed during pipeline callback. PR-URL: #33030 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent 7abc61f commit 1a2b3eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-stream-pipeline.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -982,7 +982,7 @@ const net = require('net');
982982
dst.readable = false;
983983
pipeline(src, dst, common.mustCall((err) => {
984984
assert(!err);
985-
assert.strictEqual(dst.destroyed, true);
985+
assert.strictEqual(dst.destroyed, false);
986986
}));
987987
src.end();
988988
}

0 commit comments

Comments
 (0)