Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix benchmark test

Chocobozzz87c0f718dc91
diff --git a/scripts/benchmark.ts b/scripts/benchmark.ts
index c29b9abcdb..007e3c33b7 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 b3255a7213..fa1da8fe08 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 77b99886d2..441f70d075 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)