diff --git a/scripts/benchmark.ts b/scripts/benchmark.ts index c29b9abcd..007e3c33b 100644 --- a/scripts/benchmark.ts +++ b/scripts/benchmark.ts @@ -135,7 +135,7 @@ async function run () { title: 'API - config', path: '/api/v1/config', expecter: (body, status) => { - return status === 200 && body.startsWith('{"instance":') + return status === 200 && body.startsWith('{"allowEdits":') } } ] diff --git a/server/tests/api/server/handle-down.ts b/server/tests/api/server/handle-down.ts index b3255a721..fa1da8fe0 100644 --- a/server/tests/api/server/handle-down.ts +++ b/server/tests/api/server/handle-down.ts @@ -172,7 +172,7 @@ describe('Test handle downs', function () { }) it('Should re-follow server 1', async function () { - this.timeout(35000) + this.timeout(70000) await servers[1].run() await servers[2].run() diff --git a/server/tests/api/users/user-subscriptions.ts b/server/tests/api/users/user-subscriptions.ts index 77b99886d..441f70d07 100644 --- a/server/tests/api/users/user-subscriptions.ts +++ b/server/tests/api/users/user-subscriptions.ts @@ -22,7 +22,7 @@ describe('Test users subscriptions', function () { let command: SubscriptionsCommand before(async function () { - this.timeout(120000) + this.timeout(240000) servers = await createMultipleServers(3)