mirror of
https://github.com/nodejs/node.git
synced 2026-11-30 11:55:44 -05:00
test: show child stderr output in largepages test
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: https://github.com/nodejs/node/pull/31547#issuecomment-581076515 PR-URL: https://github.com/nodejs/node/pull/31612 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
1 parent
e8985c2e87
commit
4aaf4075e9
1 file changed
+2
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user