tests: increase website test timeout (#5286)

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
This commit is contained in:
Caleb Cartwright
2020-07-05 21:11:18 -05:00
committed by GitHub
parent 6042216e77
commit 4514718d7b

View File

@@ -4,14 +4,17 @@ const t = (module.exports = require('../tester').createServiceTester())
t.create('status of http://shields.io')
.get('/website.json?url=http://shields.io')
.timeout(7500)
.expectBadge({ label: 'website', message: 'up', color: 'brightgreen' })
t.create('status of https://shields.io')
.get('/website.json?url=https://shields.io')
.timeout(7500)
.expectBadge({ label: 'website', message: 'up', color: 'brightgreen' })
t.create('status of nonexistent domain')
.get('/website.json?url=http://shields.io.io')
.timeout(15000)
.expectBadge({ label: 'website', message: 'down', color: 'red' })
t.create('status when network is off')