diff --git a/run-tests.js b/run-tests.js index 126b59f05d25..de3a31500849 100644 --- a/run-tests.js +++ b/run-tests.js @@ -273,7 +273,7 @@ async function main() { } ) const handleOutput = (type) => (chunk) => { - if (hideOutput) { + if (hideOutput && !isFinalRun) { outputChunks.push({ type, chunk }) } else { process.stderr.write(chunk) @@ -287,7 +287,7 @@ async function main() { child.on('exit', async (code, signal) => { children.delete(child) if (code !== 0 || signal !== null) { - if (isFinalRun && hideOutput) { + if (hideOutput) { // limit out to last 64kb so that we don't // run out of log room in CI outputChunks.forEach(({ type, chunk }) => {