From e97285d50d03830cc4201b5f5a9f63db5b7d294f Mon Sep 17 00:00:00 2001 From: Luke Karrys Date: Fri, 27 Oct 2023 09:09:35 -0700 Subject: [PATCH] chore: increase parallel install timeouts --- test/test-install.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/test/test-install.js b/test/test-install.js index 235acf5231..08e130dfb6 100644 --- a/test/test-install.js +++ b/test/test-install.js @@ -15,6 +15,8 @@ const streamPipeline = util.promisify(stream.pipeline) log.level = 'error' // we expect a warning +const TIMEOUT = 20 * 60 * 1000 + describe('install', function () { it('EACCES retry once', async () => { const fs = { @@ -86,7 +88,7 @@ describe('install', function () { } it('parallel installs (ensure=true)', async function () { - this.timeout(600000) + this.timeout(TIMEOUT) const fs = require('graceful-fs') const devDir = await util.promisify(fs.mkdtemp)(path.join(os.tmpdir(), 'node-gyp-test-')) @@ -101,7 +103,7 @@ describe('install', function () { }) it('parallel installs (ensure=false)', async function () { - this.timeout(600000) + this.timeout(TIMEOUT) const fs = require('graceful-fs') const devDir = await util.promisify(fs.mkdtemp)(path.join(os.tmpdir(), 'node-gyp-test-')) @@ -116,7 +118,7 @@ describe('install', function () { }) it('parallel installs (tarball)', async function () { - this.timeout(600000) + this.timeout(TIMEOUT) const fs = require('graceful-fs') const devDir = await util.promisify(fs.mkdtemp)(path.join(os.tmpdir(), 'node-gyp-test-'))