From 875656fc4e377a0dca8ab10694a3853c08df6597 Mon Sep 17 00:00:00 2001 From: Zoltan Kochan Date: Sun, 28 Aug 2016 16:53:56 +0300 Subject: [PATCH] test: retry fetch more --- test/support/prepare.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/support/prepare.js b/test/support/prepare.js index 5cc47d85ef..a6b83965a5 100644 --- a/test/support/prepare.js +++ b/test/support/prepare.js @@ -8,7 +8,9 @@ process.env.ROOT = root const tmpPath = join(root, '.tmp') mkdirp.sync(tmpPath) const npmrc = [ - 'store-path=./node_modules/.store' + 'store-path=./node_modules/.store', + 'fetch-retries=5', + 'fetch-retry-maxtimeout=180000' ] fs.writeFileSync(join(tmpPath, '.npmrc'), npmrc, 'utf-8')