Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Increase test timeouts

Chocobozzz830907ec93a1
diff --git a/packages/tests/src/api/transcoding/transcoder.ts b/packages/tests/src/api/transcoding/transcoder.ts
index bce525fb0f..dd4948ee6c 100644
--- a/packages/tests/src/api/transcoding/transcoder.ts
+++ b/packages/tests/src/api/transcoding/transcoder.ts
@@ -234,7 +234,7 @@ describe('Test video transcoding', function () {
describe('Audio transcoding', function () {
it('Should transcode high bit rate mp3 to proper bit rate', async function () {
- this.timeout(60_000)
+ this.timeout(120_000)
const attributes = {
name: 'mp3_256k',
@@ -266,7 +266,7 @@ describe('Test video transcoding', function () {
})
it('Should transcode video with no audio and have no audio itself', async function () {
- this.timeout(60_000)
+ this.timeout(120_000)
const attributes = {
name: 'no_audio',
@@ -290,7 +290,7 @@ describe('Test video transcoding', function () {
})
it('Should leave the audio untouched, but properly transcode the video', async function () {
- this.timeout(60_000)
+ this.timeout(120_000)
const attributes = {
name: 'untouched_audio',
diff --git a/packages/tests/src/api/videos/video-playlists.ts b/packages/tests/src/api/videos/video-playlists.ts
index 77c8d6436e..8908730cf1 100644
--- a/packages/tests/src/api/videos/video-playlists.ts
+++ b/packages/tests/src/api/videos/video-playlists.ts
@@ -537,7 +537,7 @@ describe('Test video playlists', function () {
describe('Element timestamps', function () {
it('Should create a playlist containing different startTimestamp/endTimestamp videos', async function () {
- this.timeout(30000)
+ this.timeout(60000)
const addVideo = (attributes: any) => {
return commands[0].addElement({ playlistId: playlistServer1Id, attributes })
diff --git a/packages/tests/src/api/videos/video-source.ts b/packages/tests/src/api/videos/video-source.ts
index cbde5c4b20..02d21b64b8 100644
--- a/packages/tests/src/api/videos/video-source.ts
+++ b/packages/tests/src/api/videos/video-source.ts
@@ -26,7 +26,7 @@ describe('Test a video file replacement', function () {
let uuid: string
before(async function () {
- this.timeout(50000)
+ this.timeout(120000)
servers = await createMultipleServers(2)