From 2a9562fc5894509e63016b1fe09f6dce0c4b6e5e Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 12 Nov 2020 08:51:42 +0100 Subject: Increase tests waits --- server/tests/api/live/live.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'server/tests/api/live') 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) -- cgit v1.2.3