aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/live/live-permanent.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-permanent.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-permanent.ts')
-rw-r--r--server/tests/api/live/live-permanent.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/server/tests/api/live/live-permanent.ts b/server/tests/api/live/live-permanent.ts
index 2701c65e3..9e6c6cf70 100644
--- a/server/tests/api/live/live-permanent.ts
+++ b/server/tests/api/live/live-permanent.ts
@@ -20,7 +20,8 @@ import {
20 updateLive, 20 updateLive,
21 wait, 21 wait,
22 waitJobs, 22 waitJobs,
23 waitUntilLivePublished 23 waitUntilLivePublished,
24 waitUntilLiveWaiting
24} from '../../../../shared/extra-utils' 25} from '../../../../shared/extra-utils'
25 26
26const expect = chai.expect 27const expect = chai.expect
@@ -111,7 +112,7 @@ describe('Permenant live', function () {
111 }) 112 })
112 113
113 it('Should stream into this permanent live', async function () { 114 it('Should stream into this permanent live', async function () {
114 this.timeout(40000) 115 this.timeout(60000)
115 116
116 const command = await sendRTMPStreamInVideo(servers[0].url, servers[0].accessToken, videoUUID) 117 const command = await sendRTMPStreamInVideo(servers[0].url, servers[0].accessToken, videoUUID)
117 118
@@ -122,6 +123,7 @@ describe('Permenant live', function () {
122 await checkVideoState(videoUUID, VideoState.PUBLISHED) 123 await checkVideoState(videoUUID, VideoState.PUBLISHED)
123 124
124 await stopFfmpeg(command) 125 await stopFfmpeg(command)
126 await waitUntilLiveWaiting(servers[0].url, servers[0].accessToken, videoUUID)
125 127
126 await waitJobs(servers) 128 await waitJobs(servers)
127 }) 129 })