aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/live/live-permanent.ts
diff options
context:
space:
mode:
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 })