From 2df6f943b81e04f2f77c4f6e9d25b581647f64ae Mon Sep 17 00:00:00 2001
From: Chocobozzz <me@florianbigard.com>
Date: Thu, 15 Apr 2021 11:31:40 +0200
Subject: Increase ffmpeg tests timeout

---
 server/tests/api/live/live.ts | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

(limited to 'server/tests')

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 () {
     }
 
     it('Should not allow a stream without the appropriate path', async function () {
-      this.timeout(30000)
+      this.timeout(60000)
 
       liveVideo = await createLiveWrapper()
 
@@ -264,14 +264,14 @@ describe('Test live', function () {
     })
 
     it('Should not allow a stream without the appropriate stream key', async function () {
-      this.timeout(30000)
+      this.timeout(60000)
 
       const command = sendRTMPStream(rtmpUrl + '/live', 'bad-stream-key')
       await testFfmpegStreamError(command, true)
     })
 
     it('Should succeed with the correct params', async function () {
-      this.timeout(30000)
+      this.timeout(60000)
 
       const command = sendRTMPStream(rtmpUrl + '/live', liveVideo.streamKey)
       await testFfmpegStreamError(command, false)
@@ -292,7 +292,7 @@ describe('Test live', function () {
     })
 
     it('Should not allow a stream on a live that was blacklisted', async function () {
-      this.timeout(30000)
+      this.timeout(60000)
 
       liveVideo = await createLiveWrapper()
 
@@ -303,7 +303,7 @@ describe('Test live', function () {
     })
 
     it('Should not allow a stream on a live that was deleted', async function () {
-      this.timeout(30000)
+      this.timeout(60000)
 
       liveVideo = await createLiveWrapper()
 
-- 
cgit v1.2.3