From cbb1d46b917356f81e0dfe28aacee03031731960 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 18 Aug 2021 10:00:57 +0200 Subject: [PATCH] Fix hls tests --- server/tests/api/videos/video-hls.ts | 6 +++--- 1 file 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: { const playlistName = removeFragmentedMP4Ext(basename(file.fileUrl)) + '.m3u8' const url = objectStorageBaseUrl - ? `${objectStorageBaseUrl}hls_${videoUUID}/${playlistName}` + ? `${objectStorageBaseUrl}hls/${videoUUID}/${playlistName}` : `${baseUrl}/static/streaming-playlists/hls/${videoUUID}/${playlistName}` const subPlaylist = await server.streamingPlaylists.get({ url }) @@ -113,7 +113,7 @@ async function checkHlsPlaylist (options: { { const baseUrlAndPath = objectStorageBaseUrl - ? objectStorageBaseUrl + 'hls_' + videoUUID + ? objectStorageBaseUrl + 'hls/' + videoUUID : baseUrl + '/static/streaming-playlists/hls/' + videoUUID for (const resolution of resolutions) { @@ -165,7 +165,7 @@ describe('Test HLS videos', function () { }) it('Should update the video', async function () { - this.timeout(10000) + this.timeout(30000) await servers[0].videos.update({ id: videoUUID, attributes: { name: 'video 1 updated' } }) -- 2.41.0