Skip to content

Commit d141330

Browse files
committed
test: print child stderr in test-http-chunk-problem
This helps with debugging test failures. PR-URL: #27117 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Beth Griggs <[email protected]> Reviewed-By: Yongsheng Zhang <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent bf766c1 commit d141330

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/parallel/test-http-chunk-problem.js

+3
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ function executeRequest(cb) {
5252
`"${__filename}"`,
5353
'shasum' ].join(' '),
5454
(err, stdout, stderr) => {
55+
if (stderr.trim() !== '') {
56+
console.log(stderr);
57+
}
5558
assert.ifError(err);
5659
assert.strictEqual(stdout.slice(0, 40),
5760
'8c206a1a87599f532ce68675536f0b1546900d7a');

0 commit comments

Comments
 (0)