Increase tests waits
This commit is contained in:
parent
b8fa24491c
commit
2a9562fc58
2 changed files with 5 additions and 5 deletions
|
@ -462,17 +462,17 @@ describe('Test live', function () {
|
||||||
await viewVideo(servers[0].url, liveVideoId)
|
await viewVideo(servers[0].url, liveVideoId)
|
||||||
await viewVideo(servers[0].url, liveVideoId)
|
await viewVideo(servers[0].url, liveVideoId)
|
||||||
|
|
||||||
await wait(5000)
|
await wait(7000)
|
||||||
|
|
||||||
await waitJobs(servers)
|
await waitJobs(servers)
|
||||||
|
|
||||||
await countViews(1)
|
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)
|
this.timeout(30000)
|
||||||
|
|
||||||
await wait(5000)
|
await wait(7000)
|
||||||
await waitJobs(servers)
|
await waitJobs(servers)
|
||||||
|
|
||||||
await countViews(0)
|
await countViews(0)
|
||||||
|
@ -485,7 +485,7 @@ describe('Test live', function () {
|
||||||
await viewVideo(servers[1].url, liveVideoId)
|
await viewVideo(servers[1].url, liveVideoId)
|
||||||
await viewVideo(servers[1].url, liveVideoId)
|
await viewVideo(servers[1].url, liveVideoId)
|
||||||
|
|
||||||
await wait(5000)
|
await wait(7000)
|
||||||
await waitJobs(servers)
|
await waitJobs(servers)
|
||||||
|
|
||||||
await countViews(2)
|
await countViews(2)
|
||||||
|
|
|
@ -111,7 +111,7 @@ async function testFfmpegStreamError (command: ffmpeg.FfmpegCommand, shouldHaveE
|
||||||
let error: Error
|
let error: Error
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await waitFfmpegUntilError(command, 10000)
|
await waitFfmpegUntilError(command, 15000)
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
error = err
|
error = err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue