aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-10-14 08:30:17 +0200
committerChocobozzz <me@florianbigard.com>2021-10-14 08:30:17 +0200
commit87c0f718dc91514eb3674eda61a5ef6facef55ac (patch)
treedde4699471237b2bd522519ef04f8341db3ff00f
parent1cf0df024e58432da39fe2d1b317fb5c9ab8bd2e (diff)
downloadPeerTube-87c0f718dc91514eb3674eda61a5ef6facef55ac.tar.gz
PeerTube-87c0f718dc91514eb3674eda61a5ef6facef55ac.tar.zst
PeerTube-87c0f718dc91514eb3674eda61a5ef6facef55ac.zip
Fix benchmark test
-rw-r--r--scripts/benchmark.ts2
-rw-r--r--server/tests/api/server/handle-down.ts2
-rw-r--r--server/tests/api/users/user-subscriptions.ts2
3 files changed, 3 insertions, 3 deletions
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 () {
135 title: 'API - config', 135 title: 'API - config',
136 path: '/api/v1/config', 136 path: '/api/v1/config',
137 expecter: (body, status) => { 137 expecter: (body, status) => {
138 return status === 200 && body.startsWith('{"instance":') 138 return status === 200 && body.startsWith('{"allowEdits":')
139 } 139 }
140 } 140 }
141 ] 141 ]
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 () {
172 }) 172 })
173 173
174 it('Should re-follow server 1', async function () { 174 it('Should re-follow server 1', async function () {
175 this.timeout(35000) 175 this.timeout(70000)
176 176
177 await servers[1].run() 177 await servers[1].run()
178 await servers[2].run() 178 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 () {
22 let command: SubscriptionsCommand 22 let command: SubscriptionsCommand
23 23
24 before(async function () { 24 before(async function () {
25 this.timeout(120000) 25 this.timeout(240000)
26 26
27 servers = await createMultipleServers(3) 27 servers = await createMultipleServers(3)
28 28