mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-11-28 03:23:57 -06:00
Increase tests waits
This commit is contained in:
parent
b8fa24491c
commit
2a9562fc58
@ -462,17 +462,17 @@ describe('Test live', function () {
|
||||
await viewVideo(servers[0].url, liveVideoId)
|
||||
await viewVideo(servers[0].url, liveVideoId)
|
||||
|
||||
await wait(5000)
|
||||
await wait(7000)
|
||||
|
||||
await waitJobs(servers)
|
||||
|
||||
await countViews(1)
|
||||
})
|
||||
|
||||
it('Should wait 5 seconds and display 0 views', async function () {
|
||||
it('Should wait and display 0 views', async function () {
|
||||
this.timeout(30000)
|
||||
|
||||
await wait(5000)
|
||||
await wait(7000)
|
||||
await waitJobs(servers)
|
||||
|
||||
await countViews(0)
|
||||
@ -485,7 +485,7 @@ describe('Test live', function () {
|
||||
await viewVideo(servers[1].url, liveVideoId)
|
||||
await viewVideo(servers[1].url, liveVideoId)
|
||||
|
||||
await wait(5000)
|
||||
await wait(7000)
|
||||
await waitJobs(servers)
|
||||
|
||||
await countViews(2)
|
||||
|
@ -111,7 +111,7 @@ async function testFfmpegStreamError (command: ffmpeg.FfmpegCommand, shouldHaveE
|
||||
let error: Error
|
||||
|
||||
try {
|
||||
await waitFfmpegUntilError(command, 10000)
|
||||
await waitFfmpegUntilError(command, 15000)
|
||||
} catch (err) {
|
||||
error = err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user