Skip to content

Commit

Permalink
test: increase whoami with bearer auth timeout
Browse files Browse the repository at this point in the history
This makes the test pass on slow architectures (such as armhf) on emulated environments (such as qemu)

PR-URL: #1454
Credit: @LocutusOfBorg
Close: #1454
Reviewed-by: @ruyadorno
  • Loading branch information
LocutusOfBorg authored and ruyadorno committed Aug 17, 2020
1 parent a6e9fc4 commit b3a0ec1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tap/whoami.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit b3a0ec1

Please sign in to comment.