aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api')
-rw-r--r--server/tests/api/videos/video-hls.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/videos/video-hls.ts b/server/tests/api/videos/video-hls.ts
index 2c829f532..4685bf3b6 100644
--- a/server/tests/api/videos/video-hls.ts
+++ b/server/tests/api/videos/video-hls.ts
@@ -101,7 +101,7 @@ async function checkHlsPlaylist (options: {
101 const playlistName = removeFragmentedMP4Ext(basename(file.fileUrl)) + '.m3u8' 101 const playlistName = removeFragmentedMP4Ext(basename(file.fileUrl)) + '.m3u8'
102 102
103 const url = objectStorageBaseUrl 103 const url = objectStorageBaseUrl
104 ? `${objectStorageBaseUrl}hls_${videoUUID}/${playlistName}` 104 ? `${objectStorageBaseUrl}hls/${videoUUID}/${playlistName}`
105 : `${baseUrl}/static/streaming-playlists/hls/${videoUUID}/${playlistName}` 105 : `${baseUrl}/static/streaming-playlists/hls/${videoUUID}/${playlistName}`
106 106
107 const subPlaylist = await server.streamingPlaylists.get({ url }) 107 const subPlaylist = await server.streamingPlaylists.get({ url })
@@ -113,7 +113,7 @@ async function checkHlsPlaylist (options: {
113 113
114 { 114 {
115 const baseUrlAndPath = objectStorageBaseUrl 115 const baseUrlAndPath = objectStorageBaseUrl
116 ? objectStorageBaseUrl + 'hls_' + videoUUID 116 ? objectStorageBaseUrl + 'hls/' + videoUUID
117 : baseUrl + '/static/streaming-playlists/hls/' + videoUUID 117 : baseUrl + '/static/streaming-playlists/hls/' + videoUUID
118 118
119 for (const resolution of resolutions) { 119 for (const resolution of resolutions) {
@@ -165,7 +165,7 @@ describe('Test HLS videos', function () {
165 }) 165 })
166 166
167 it('Should update the video', async function () { 167 it('Should update the video', async function () {
168 this.timeout(10000) 168 this.timeout(30000)
169 169
170 await servers[0].videos.update({ id: videoUUID, attributes: { name: 'video 1 updated' } }) 170 await servers[0].videos.update({ id: videoUUID, attributes: { name: 'video 1 updated' } })
171 171