Skip to content

Commit

Permalink
chore: increase parallel install timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed Oct 27, 2023
1 parent e3ac7a1 commit fd77b34
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions test/test-install.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -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-'))
Expand All @@ -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-'))
Expand All @@ -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-'))
Expand Down

0 comments on commit fd77b34

Please sign in to comment.