More robust server stats tests
This commit is contained in:
parent
bcbf643249
commit
9e454eba57
|
@ -185,13 +185,13 @@ describe('Test stats (excluding redundancy)', function () {
|
|||
}
|
||||
})
|
||||
|
||||
const res1 = await getStats(servers[1].url)
|
||||
const first = res1.body as ServerStats
|
||||
|
||||
for (let i = 0; i < 10; i++) {
|
||||
await uploadVideo(servers[0].url, servers[0].accessToken, { name: 'video' })
|
||||
}
|
||||
|
||||
const res1 = await getStats(servers[1].url)
|
||||
const first = res1.body as ServerStats
|
||||
|
||||
await waitJobs(servers)
|
||||
|
||||
const res2 = await getStats(servers[1].url)
|
||||
|
|
Loading…
Reference in New Issue