Skip to content

Commit 6e56f2d

Browse files
joyeecheungruyadorno
authored andcommitted
test: skip test-child-process-stdio-reuse-readable-stdio on Windows
It is flaky due to the same cause of test-child-process-pipe-dataflow being flaky - cygwin quirks - so skip it on Windows too. Drive-by: remove the skip mark of test-child-process-pipe-dataflow in the status file and directly skip it in the test with a comment. PR-URL: #49621 Reviewed-By: Debadree Chatterjee <debadree333@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: LiviaMedeiros <livia@cirno.name> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
1 parent c2eac7d commit 6e56f2d

3 files changed

+12
-3
lines changed

test/parallel/parallel.status

-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ prefix parallel
1111
test-crypto-keygen: PASS,FLAKY
1212
# https://github.com/nodejs/node/issues/41201
1313
test-fs-rmdir-recursive: PASS, FLAKY
14-
# https://github.com/nodejs/node/issues/48300
15-
test-child-process-pipe-dataflow: SKIP
16-
test-child-process-stdio-reuse-readable-stdio: PASS, FLAKY
1714

1815
# Windows on ARM
1916
[$system==win32 && $arch==arm64]

test/parallel/test-child-process-pipe-dataflow.js

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
'use strict';
22
const common = require('../common');
3+
4+
if (common.isWindows) {
5+
// https://github.com/nodejs/node/issues/48300
6+
common.skip('Does not work with cygwin quirks on Windows');
7+
}
8+
39
const assert = require('assert');
410
const fs = require('fs');
511
const spawn = require('child_process').spawn;

test/parallel/test-child-process-stdio-reuse-readable-stdio.js

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
'use strict';
22
const common = require('../common');
3+
4+
if (common.isWindows) {
5+
// https://github.com/nodejs/node/issues/48300
6+
common.skip('Does not work with cygwin quirks on Windows');
7+
}
8+
39
const assert = require('assert');
410
const { spawn } = require('child_process');
511

0 commit comments

Comments
 (0)