aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/live/live-save-replay.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-12-11 10:36:05 +0100
committerChocobozzz <chocobozzz@cpy.re>2020-12-14 09:11:27 +0100
commit59fd824cf3434a8417b73230f1840fed327e3495 (patch)
treeb3c25022099adf2a41ed8da5328c4147d60add83 /server/tests/api/live/live-save-replay.ts
parent34caef7fc0710623c6894549423813d53f65b303 (diff)
downloadPeerTube-59fd824cf3434a8417b73230f1840fed327e3495.tar.gz
PeerTube-59fd824cf3434a8417b73230f1840fed327e3495.tar.zst
PeerTube-59fd824cf3434a8417b73230f1840fed327e3495.zip
Fix tests timeout
Diffstat (limited to 'server/tests/api/live/live-save-replay.ts')
-rw-r--r--server/tests/api/live/live-save-replay.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/tests/api/live/live-save-replay.ts b/server/tests/api/live/live-save-replay.ts
index bd683b2bf..6cd8cc23f 100644
--- a/server/tests/api/live/live-save-replay.ts
+++ b/server/tests/api/live/live-save-replay.ts
@@ -136,7 +136,7 @@ describe('Save replay setting', function () {
136 }) 136 })
137 137
138 it('Should correctly delete the video files after the stream ended', async function () { 138 it('Should correctly delete the video files after the stream ended', async function () {
139 this.timeout(30000) 139 this.timeout(40000)
140 140
141 await stopFfmpeg(ffmpegCommand) 141 await stopFfmpeg(ffmpegCommand)
142 142
@@ -146,6 +146,8 @@ describe('Save replay setting', function () {
146 await checkVideosExist(liveVideoUUID, false, HttpStatusCode.OK_200) 146 await checkVideosExist(liveVideoUUID, false, HttpStatusCode.OK_200)
147 await checkVideoState(liveVideoUUID, VideoState.LIVE_ENDED) 147 await checkVideoState(liveVideoUUID, VideoState.LIVE_ENDED)
148 148
149 await waitJobs(servers)
150
149 // No resolutions saved since we did not save replay 151 // No resolutions saved since we did not save replay
150 await checkLiveCleanup(servers[0], liveVideoUUID, []) 152 await checkLiveCleanup(servers[0], liveVideoUUID, [])
151 }) 153 })