Skip to content

Commit

Permalink
test: show child stderr output in largepages test
Browse files Browse the repository at this point in the history
The test starts child processes. A recent change is suspected of causing
flaky crashes on one of the alpine buildbots but we can't know for sure
because the test hides the child's stderr.

Refs: #31547 (comment)

PR-URL: #31612
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
  • Loading branch information
bnoordhuis authored and targos committed Apr 28, 2020
1 parent e8985c2 commit 4aaf407
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/parallel/test-startup-large-pages.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ const { spawnSync } = require('child_process');

{
const child = spawnSync(process.execPath,
[ '--use-largepages=on', '-p', '42' ]);
[ '--use-largepages=on', '-p', '42' ],
{ stdio: ['inherit', 'pipe', 'inherit'] });
const stdout = child.stdout.toString().match(/\S+/g);
assert.strictEqual(child.status, 0);
assert.strictEqual(child.signal, null);
Expand Down

0 comments on commit 4aaf407

Please sign in to comment.