1
0
Fork 0

Fix benchmark test

This commit is contained in:
Chocobozzz 2021-10-14 08:30:17 +02:00
parent 1cf0df024e
commit 87c0f718dc
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
3 changed files with 3 additions and 3 deletions

View File

@ -135,7 +135,7 @@ async function run () {
title: 'API - config', title: 'API - config',
path: '/api/v1/config', path: '/api/v1/config',
expecter: (body, status) => { expecter: (body, status) => {
return status === 200 && body.startsWith('{"instance":') return status === 200 && body.startsWith('{"allowEdits":')
} }
} }
] ]

View File

@ -172,7 +172,7 @@ describe('Test handle downs', function () {
}) })
it('Should re-follow server 1', async function () { it('Should re-follow server 1', async function () {
this.timeout(35000) this.timeout(70000)
await servers[1].run() await servers[1].run()
await servers[2].run() await servers[2].run()

View File

@ -22,7 +22,7 @@ describe('Test users subscriptions', function () {
let command: SubscriptionsCommand let command: SubscriptionsCommand
before(async function () { before(async function () {
this.timeout(120000) this.timeout(240000)
servers = await createMultipleServers(3) servers = await createMultipleServers(3)