diff options
author | Chocobozzz <me@florianbigard.com> | 2022-04-21 09:06:52 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-04-21 11:47:57 +0200 |
commit | 4ec52d04dcc5d664612331f8e08d7d90da990415 (patch) | |
tree | 4b193f9f8f210caaf2dbe05ef3e37fa3a6fc28f0 /server/tests/api/live/live-permanent.ts | |
parent | 2024a3b9338d667640aa115da6071ea83d088c50 (diff) | |
download | PeerTube-4ec52d04dcc5d664612331f8e08d7d90da990415.tar.gz PeerTube-4ec52d04dcc5d664612331f8e08d7d90da990415.tar.zst PeerTube-4ec52d04dcc5d664612331f8e08d7d90da990415.zip |
Add ability to save replay of permanent lives
Diffstat (limited to 'server/tests/api/live/live-permanent.ts')
-rw-r--r-- | server/tests/api/live/live-permanent.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/server/tests/api/live/live-permanent.ts b/server/tests/api/live/live-permanent.ts index 3e6fec453..a88d71dd9 100644 --- a/server/tests/api/live/live-permanent.ts +++ b/server/tests/api/live/live-permanent.ts | |||
@@ -121,7 +121,7 @@ describe('Permanent live', function () { | |||
121 | await waitJobs(servers) | 121 | await waitJobs(servers) |
122 | }) | 122 | }) |
123 | 123 | ||
124 | it('Should not have cleaned up this live', async function () { | 124 | it('Should have cleaned up this live', async function () { |
125 | this.timeout(40000) | 125 | this.timeout(40000) |
126 | 126 | ||
127 | await wait(5000) | 127 | await wait(5000) |
@@ -129,7 +129,8 @@ describe('Permanent live', function () { | |||
129 | 129 | ||
130 | for (const server of servers) { | 130 | for (const server of servers) { |
131 | const videoDetails = await server.videos.get({ id: videoUUID }) | 131 | const videoDetails = await server.videos.get({ id: videoUUID }) |
132 | expect(videoDetails.streamingPlaylists).to.have.lengthOf(1) | 132 | |
133 | expect(videoDetails.streamingPlaylists).to.have.lengthOf(0) | ||
133 | } | 134 | } |
134 | }) | 135 | }) |
135 | 136 | ||