]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Increase test timeout
authorChocobozzz <me@florianbigard.com>
Tue, 16 Aug 2022 12:49:16 +0000 (14:49 +0200)
committerChocobozzz <me@florianbigard.com>
Tue, 16 Aug 2022 13:41:21 +0000 (15:41 +0200)
client/src/assets/player/shared/stats/stats-card.ts
server/tests/api/live/live-permanent.ts
server/tests/api/server/jobs.ts

index 8306702718898c69cf815792b57fac2890c77f67..ed2910fa20c2d9b26ba278482422ba870c2dd695 100644 (file)
@@ -146,7 +146,7 @@ class StatsCard extends Component {
       : undefined
 
     const resolution = level?.height
-      ? `${level?.height}p${level?.attrs['FRAME-RATE'] || ''}`
+      ? `${level.height}p${level?.attrs['FRAME-RATE'] || ''}`
       : undefined
 
     const buffer = this.timeRangesToString(this.player().buffered())
index 92eac9e5f4d3c51bd564bb5a9e6cd0e4b77db1be..f5c67c579eebb3e919894a925143b0307c463a52 100644 (file)
@@ -99,7 +99,7 @@ describe('Permanent live', function () {
   })
 
   it('Should stream into this permanent live', async function () {
-    this.timeout(120000)
+    this.timeout(240_000)
 
     const beforePublication = new Date()
     const ffmpegCommand = await servers[0].live.sendRTMPStreamInVideo({ videoId: videoUUID })
index 297206cf76f7b79f165b73100c614ee11fd13576..d9dee1776998b84cf31a00817b4467775953bcf3 100644 (file)
@@ -19,7 +19,7 @@ describe('Test jobs', function () {
   let servers: PeerTubeServer[]
 
   before(async function () {
-    this.timeout(120000)
+    this.timeout(240000)
 
     servers = await createMultipleServers(2)