aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/tests/api/server/stats.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/server/stats.ts b/server/tests/api/server/stats.ts
index b752da743..6fbf32186 100644
--- a/server/tests/api/server/stats.ts
+++ b/server/tests/api/server/stats.ts
@@ -185,13 +185,13 @@ describe('Test stats (excluding redundancy)', function () {
185 } 185 }
186 }) 186 })
187 187
188 const res1 = await getStats(servers[1].url)
189 const first = res1.body as ServerStats
190
188 for (let i = 0; i < 10; i++) { 191 for (let i = 0; i < 10; i++) {
189 await uploadVideo(servers[0].url, servers[0].accessToken, { name: 'video' }) 192 await uploadVideo(servers[0].url, servers[0].accessToken, { name: 'video' })
190 } 193 }
191 194
192 const res1 = await getStats(servers[1].url)
193 const first = res1.body as ServerStats
194
195 await waitJobs(servers) 195 await waitJobs(servers)
196 196
197 const res2 = await getStats(servers[1].url) 197 const res2 = await getStats(servers[1].url)