X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fapi%2Flive%2Flive.ts;h=29081c6cca644357e9e8926da27af9b1138ee0a5;hb=2a9562fc5894509e63016b1fe09f6dce0c4b6e5e;hp=de3181928dfe1e4aec0c3f4f5fa5254ab4b6fecf;hpb=b8fa24491c37fd7c0cca562a9469dfb254171919;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/api/live/live.ts b/server/tests/api/live/live.ts index de3181928..29081c6cc 100644 --- a/server/tests/api/live/live.ts +++ b/server/tests/api/live/live.ts @@ -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)