Skip to content

Commit

Permalink
test: skip test-child-process-stdio-reuse-readable-stdio on Windows
Browse files Browse the repository at this point in the history
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
Backport-PR-URL: #51132
Co-authored-by: Artur Yapparov <[email protected]>
Reviewed-By: Debadree Chatterjee <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: LiviaMedeiros <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Moshe Atlow <[email protected]>
  • Loading branch information
2 people authored and marco-ippolito committed Feb 12, 2024
1 parent 6cdc71b commit 97c4907
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test/parallel/parallel.status
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ prefix parallel
test-crypto-keygen: PASS,FLAKY
# https://github.com/nodejs/node/issues/41201
test-fs-rmdir-recursive: PASS, FLAKY
# https://github.com/nodejs/node/issues/48300
test-child-process-pipe-dataflow: PASS, FLAKY
test-child-process-stdio-reuse-readable-stdio: PASS, FLAKY
# https://github.com/nodejs/node/issues/49985
test-runner-watch-mode: PASS, FLAKY
# https://github.com/nodejs/node/issues/50295
Expand Down
6 changes: 6 additions & 0 deletions test/parallel/test-child-process-pipe-dataflow.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
'use strict';
const common = require('../common');

if (common.isWindows) {
// https://github.com/nodejs/node/issues/48300
common.skip('Does not work with cygwin quirks on Windows');
}

const assert = require('assert');
const path = require('path');
const fs = require('fs');
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
'use strict';
const common = require('../common');

if (common.isWindows) {
// https://github.com/nodejs/node/issues/48300
common.skip('Does not work with cygwin quirks on Windows');
}

const assert = require('assert');
const { spawn } = require('child_process');

Expand Down

0 comments on commit 97c4907

Please sign in to comment.