diff options
author | Chocobozzz <me@florianbigard.com> | 2022-08-16 14:49:16 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-08-16 15:41:21 +0200 |
commit | 7804e577de25345da51ac3d88f6121108012b523 (patch) | |
tree | 698dbed8acafbf030d5cfa69c800f50d8f4cc565 | |
parent | 37229de26e0979733d197b10811db17fab31abcc (diff) | |
download | PeerTube-7804e577de25345da51ac3d88f6121108012b523.tar.gz PeerTube-7804e577de25345da51ac3d88f6121108012b523.tar.zst PeerTube-7804e577de25345da51ac3d88f6121108012b523.zip |
Increase test timeout
-rw-r--r-- | client/src/assets/player/shared/stats/stats-card.ts | 2 | ||||
-rw-r--r-- | server/tests/api/live/live-permanent.ts | 2 | ||||
-rw-r--r-- | server/tests/api/server/jobs.ts | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/client/src/assets/player/shared/stats/stats-card.ts b/client/src/assets/player/shared/stats/stats-card.ts index 830670271..ed2910fa2 100644 --- a/client/src/assets/player/shared/stats/stats-card.ts +++ b/client/src/assets/player/shared/stats/stats-card.ts | |||
@@ -146,7 +146,7 @@ class StatsCard extends Component { | |||
146 | : undefined | 146 | : undefined |
147 | 147 | ||
148 | const resolution = level?.height | 148 | const resolution = level?.height |
149 | ? `${level?.height}p${level?.attrs['FRAME-RATE'] || ''}` | 149 | ? `${level.height}p${level?.attrs['FRAME-RATE'] || ''}` |
150 | : undefined | 150 | : undefined |
151 | 151 | ||
152 | const buffer = this.timeRangesToString(this.player().buffered()) | 152 | const buffer = this.timeRangesToString(this.player().buffered()) |
diff --git a/server/tests/api/live/live-permanent.ts b/server/tests/api/live/live-permanent.ts index 92eac9e5f..f5c67c579 100644 --- a/server/tests/api/live/live-permanent.ts +++ b/server/tests/api/live/live-permanent.ts | |||
@@ -99,7 +99,7 @@ describe('Permanent live', function () { | |||
99 | }) | 99 | }) |
100 | 100 | ||
101 | it('Should stream into this permanent live', async function () { | 101 | it('Should stream into this permanent live', async function () { |
102 | this.timeout(120000) | 102 | this.timeout(240_000) |
103 | 103 | ||
104 | const beforePublication = new Date() | 104 | const beforePublication = new Date() |
105 | const ffmpegCommand = await servers[0].live.sendRTMPStreamInVideo({ videoId: videoUUID }) | 105 | const ffmpegCommand = await servers[0].live.sendRTMPStreamInVideo({ videoId: videoUUID }) |
diff --git a/server/tests/api/server/jobs.ts b/server/tests/api/server/jobs.ts index 297206cf7..d9dee1776 100644 --- a/server/tests/api/server/jobs.ts +++ b/server/tests/api/server/jobs.ts | |||
@@ -19,7 +19,7 @@ describe('Test jobs', function () { | |||
19 | let servers: PeerTubeServer[] | 19 | let servers: PeerTubeServer[] |
20 | 20 | ||
21 | before(async function () { | 21 | before(async function () { |
22 | this.timeout(120000) | 22 | this.timeout(240000) |
23 | 23 | ||
24 | servers = await createMultipleServers(2) | 24 | servers = await createMultipleServers(2) |
25 | 25 | ||