diff options
author | Chocobozzz <me@florianbigard.com> | 2021-04-15 11:31:40 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-04-15 11:31:40 +0200 |
commit | 2df6f943b81e04f2f77c4f6e9d25b581647f64ae (patch) | |
tree | 1745808e84339ac1538d1e7cdc820476a100f51c /server/tests | |
parent | 126a6352ec2b088bb1d7f882991045a3ad0d7aea (diff) | |
download | PeerTube-2df6f943b81e04f2f77c4f6e9d25b581647f64ae.tar.gz PeerTube-2df6f943b81e04f2f77c4f6e9d25b581647f64ae.tar.zst PeerTube-2df6f943b81e04f2f77c4f6e9d25b581647f64ae.zip |
Increase ffmpeg tests timeout
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/api/live/live.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/server/tests/api/live/live.ts b/server/tests/api/live/live.ts index 0831f91f0..d48e2a8ee 100644 --- a/server/tests/api/live/live.ts +++ b/server/tests/api/live/live.ts | |||
@@ -255,7 +255,7 @@ describe('Test live', function () { | |||
255 | } | 255 | } |
256 | 256 | ||
257 | it('Should not allow a stream without the appropriate path', async function () { | 257 | it('Should not allow a stream without the appropriate path', async function () { |
258 | this.timeout(30000) | 258 | this.timeout(60000) |
259 | 259 | ||
260 | liveVideo = await createLiveWrapper() | 260 | liveVideo = await createLiveWrapper() |
261 | 261 | ||
@@ -264,14 +264,14 @@ describe('Test live', function () { | |||
264 | }) | 264 | }) |
265 | 265 | ||
266 | it('Should not allow a stream without the appropriate stream key', async function () { | 266 | it('Should not allow a stream without the appropriate stream key', async function () { |
267 | this.timeout(30000) | 267 | this.timeout(60000) |
268 | 268 | ||
269 | const command = sendRTMPStream(rtmpUrl + '/live', 'bad-stream-key') | 269 | const command = sendRTMPStream(rtmpUrl + '/live', 'bad-stream-key') |
270 | await testFfmpegStreamError(command, true) | 270 | await testFfmpegStreamError(command, true) |
271 | }) | 271 | }) |
272 | 272 | ||
273 | it('Should succeed with the correct params', async function () { | 273 | it('Should succeed with the correct params', async function () { |
274 | this.timeout(30000) | 274 | this.timeout(60000) |
275 | 275 | ||
276 | const command = sendRTMPStream(rtmpUrl + '/live', liveVideo.streamKey) | 276 | const command = sendRTMPStream(rtmpUrl + '/live', liveVideo.streamKey) |
277 | await testFfmpegStreamError(command, false) | 277 | await testFfmpegStreamError(command, false) |
@@ -292,7 +292,7 @@ describe('Test live', function () { | |||
292 | }) | 292 | }) |
293 | 293 | ||
294 | it('Should not allow a stream on a live that was blacklisted', async function () { | 294 | it('Should not allow a stream on a live that was blacklisted', async function () { |
295 | this.timeout(30000) | 295 | this.timeout(60000) |
296 | 296 | ||
297 | liveVideo = await createLiveWrapper() | 297 | liveVideo = await createLiveWrapper() |
298 | 298 | ||
@@ -303,7 +303,7 @@ describe('Test live', function () { | |||
303 | }) | 303 | }) |
304 | 304 | ||
305 | it('Should not allow a stream on a live that was deleted', async function () { | 305 | it('Should not allow a stream on a live that was deleted', async function () { |
306 | this.timeout(30000) | 306 | this.timeout(60000) |
307 | 307 | ||
308 | liveVideo = await createLiveWrapper() | 308 | liveVideo = await createLiveWrapper() |
309 | 309 | ||