From a046453549bf8f2ced083cc8ac414a9cab42dcf5 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 30 Dec 2020 11:27:59 +0100 Subject: Increase notifications comment test timeout --- server/tests/api/notifications/comments-notifications.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'server') diff --git a/server/tests/api/notifications/comments-notifications.ts b/server/tests/api/notifications/comments-notifications.ts index 3da828b6a..5e4ab0d6c 100644 --- a/server/tests/api/notifications/comments-notifications.ts +++ b/server/tests/api/notifications/comments-notifications.ts @@ -53,7 +53,7 @@ describe('Test comments notifications', function () { }) it('Should not send a new comment notification after a comment on another video', async function () { - this.timeout(10000) + this.timeout(20000) const resVideo = await uploadVideo(servers[0].url, servers[0].accessToken, { name: 'super video' }) const uuid = resVideo.body.video.uuid @@ -66,7 +66,7 @@ describe('Test comments notifications', function () { }) it('Should not send a new comment notification if I comment my own video', async function () { - this.timeout(10000) + this.timeout(20000) const resVideo = await uploadVideo(servers[0].url, userAccessToken, { name: 'super video' }) const uuid = resVideo.body.video.uuid @@ -79,7 +79,7 @@ describe('Test comments notifications', function () { }) it('Should not send a new comment notification if the account is muted', async function () { - this.timeout(10000) + this.timeout(20000) await addAccountToAccountBlocklist(servers[0].url, userAccessToken, 'root') @@ -96,7 +96,7 @@ describe('Test comments notifications', function () { }) it('Should send a new comment notification after a local comment on my video', async function () { - this.timeout(10000) + this.timeout(20000) const resVideo = await uploadVideo(servers[0].url, userAccessToken, { name: 'super video' }) const uuid = resVideo.body.video.uuid @@ -109,7 +109,7 @@ describe('Test comments notifications', function () { }) it('Should send a new comment notification after a remote comment on my video', async function () { - this.timeout(10000) + this.timeout(20000) const resVideo = await uploadVideo(servers[0].url, userAccessToken, { name: 'super video' }) const uuid = resVideo.body.video.uuid @@ -128,7 +128,7 @@ describe('Test comments notifications', function () { }) it('Should send a new comment notification after a local reply on my video', async function () { - this.timeout(10000) + this.timeout(20000) const resVideo = await uploadVideo(servers[0].url, userAccessToken, { name: 'super video' }) const uuid = resVideo.body.video.uuid @@ -144,7 +144,7 @@ describe('Test comments notifications', function () { }) it('Should send a new comment notification after a remote reply on my video', async function () { - this.timeout(10000) + this.timeout(20000) const resVideo = await uploadVideo(servers[0].url, userAccessToken, { name: 'super video' }) const uuid = resVideo.body.video.uuid @@ -172,7 +172,7 @@ describe('Test comments notifications', function () { }) it('Should convert markdown in comment to html', async function () { - this.timeout(10000) + this.timeout(20000) const resVideo = await uploadVideo(servers[0].url, userAccessToken, { name: 'cool video' }) const uuid = resVideo.body.video.uuid -- cgit v1.2.3