From b3a0ec160d3fffcd7b64d98346d0cd6e06cb441f Mon Sep 17 00:00:00 2001 From: Gianfranco Costamagna Date: Tue, 23 Jun 2020 11:48:48 +0200 Subject: [PATCH] test: increase whoami with bearer auth timeout This makes the test pass on slow architectures (such as armhf) on emulated environments (such as qemu) PR-URL: https://github.com/npm/cli/pull/1454 Credit: @LocutusOfBorg Close: #1454 Reviewed-by: @ruyadorno --- test/tap/whoami.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tap/whoami.js b/test/tap/whoami.js index 9f4bf4266b74c..aabf5b282160f 100644 --- a/test/tap/whoami.js +++ b/test/tap/whoami.js @@ -36,7 +36,7 @@ test('npm whoami with basic auth', function (t) { ) }) -test('npm whoami with bearer auth', { timeout: 6000 }, function (t) { +test('npm whoami with bearer auth', { timeout: 8000 }, function (t) { var s = '//localhost:' + common.port + '/:_authToken = wombat-developers-union\n' fs.writeFileSync(FIXTURE_PATH, s, 'ascii')