diff options
author | Chocobozzz <me@florianbigard.com> | 2022-06-16 14:11:31 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-06-16 14:11:31 +0200 |
commit | 0c9a83546687d2ae80b3f5299a8ee59d741f894f (patch) | |
tree | bd6d92679e6ed1fa93a89c4d028cd25891be935f /server/tests/api/live | |
parent | 5b0ec7cddb1ae6dbd2057f067382866f846b882c (diff) | |
parent | cdd838168d617f70fc04fe7f23846810e7e07082 (diff) | |
download | PeerTube-0c9a83546687d2ae80b3f5299a8ee59d741f894f.tar.gz PeerTube-0c9a83546687d2ae80b3f5299a8ee59d741f894f.tar.zst PeerTube-0c9a83546687d2ae80b3f5299a8ee59d741f894f.zip |
Merge branch 'release/4.2.0' into develop
Diffstat (limited to 'server/tests/api/live')
-rw-r--r-- | server/tests/api/live/live-save-replay.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/server/tests/api/live/live-save-replay.ts b/server/tests/api/live/live-save-replay.ts index 007af51e9..99d500711 100644 --- a/server/tests/api/live/live-save-replay.ts +++ b/server/tests/api/live/live-save-replay.ts | |||
@@ -12,6 +12,7 @@ import { | |||
12 | createMultipleServers, | 12 | createMultipleServers, |
13 | doubleFollow, | 13 | doubleFollow, |
14 | findExternalSavedVideo, | 14 | findExternalSavedVideo, |
15 | makeRawRequest, | ||
15 | PeerTubeServer, | 16 | PeerTubeServer, |
16 | setAccessTokensToServers, | 17 | setAccessTokensToServers, |
17 | setDefaultVideoChannel, | 18 | setDefaultVideoChannel, |
@@ -457,6 +458,12 @@ describe('Save replay setting', function () { | |||
457 | // Streaming session #2 | 458 | // Streaming session #2 |
458 | ffmpegCommand = await servers[0].live.sendRTMPStreamInVideo({ videoId: liveVideoUUID }) | 459 | ffmpegCommand = await servers[0].live.sendRTMPStreamInVideo({ videoId: liveVideoUUID }) |
459 | await waitUntilLivePublishedOnAllServers(servers, liveVideoUUID) | 460 | await waitUntilLivePublishedOnAllServers(servers, liveVideoUUID) |
461 | |||
462 | await wait(5000) | ||
463 | const video = await servers[0].videos.get({ id: liveVideoUUID }) | ||
464 | expect(video.streamingPlaylists).to.have.lengthOf(1) | ||
465 | await makeRawRequest(video.streamingPlaylists[0].playlistUrl) | ||
466 | |||
460 | await stopFfmpeg(ffmpegCommand) | 467 | await stopFfmpeg(ffmpegCommand) |
461 | await waitUntilLiveWaitingOnAllServers(servers, liveVideoUUID) | 468 | await waitUntilLiveWaitingOnAllServers(servers, liveVideoUUID) |
462 | 469 | ||