| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent c35a071 commit 6990833
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -28,7 +28,14 @@ const { debuglog, getSystemErrorName } = require('util'); | |||
| 28 | 28 | const debug = debuglog('test'); | |
| 29 | 29 | ||
| 30 | 30 | const TIMER = 200; | |
| 31 | - const SLEEP = common.platformTimeout(5000); | ||
| 31 | + let SLEEP = common.platformTimeout(5000); | ||
| 32 | + | ||
| 33 | + if (common.isWindows) { | ||
| 34 | + // Some of the windows machines in the CI need more time to launch | ||
| 35 | + // and receive output from child processes. | ||
| 36 | + // https://github.com/nodejs/build/issues/3014 | ||
| 37 | + SLEEP = common.platformTimeout(15000); | ||
| 38 | + } | ||
| 32 | 39 | ||
| 33 | 40 | switch (process.argv[2]) { | |
| 34 | 41 | case 'child': | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -30,7 +30,13 @@ const { execFileSync, execSync, spawnSync } = require('child_process'); | |||
| 30 | 30 | const { getSystemErrorName } = require('util'); | |
| 31 | 31 | ||
| 32 | 32 | const TIMER = 200; | |
| 33 | - const SLEEP = 2000; | ||
| 33 | + let SLEEP = 2000; | ||
| 34 | + if (common.isWindows) { | ||
| 35 | + // Some of the windows machines in the CI need more time to launch | ||
| 36 | + // and receive output from child processes. | ||
| 37 | + // https://github.com/nodejs/build/issues/3014 | ||
| 38 | + SLEEP = 10000; | ||
| 39 | + } | ||
| 34 | 40 | ||
| 35 | 41 | const execOpts = { encoding: 'utf8', shell: true }; | |
| 36 | 42 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments