Skip to content

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

Increase other test timeouts

Chocobozzzae468445b2bb
diff --git a/packages/tests/src/api/activitypub/cleaner.ts b/packages/tests/src/api/activitypub/cleaner.ts
index 4476aea850..20415b9a42 100644
--- a/packages/tests/src/api/activitypub/cleaner.ts
+++ b/packages/tests/src/api/activitypub/cleaner.ts
@@ -23,7 +23,7 @@ describe('Test AP cleaner', function () {
let videoUUIDs: string[]
before(async function () {
- this.timeout(120000)
+ this.timeout(240000)
const config = {
federation: {
diff --git a/packages/tests/src/api/moderation/abuses.ts b/packages/tests/src/api/moderation/abuses.ts
index 649de224e7..68f7594358 100644
--- a/packages/tests/src/api/moderation/abuses.ts
+++ b/packages/tests/src/api/moderation/abuses.ts
@@ -21,7 +21,7 @@ describe('Test abuses', function () {
let commands: AbusesCommand[]
before(async function () {
- this.timeout(50000)
+ this.timeout(120000)
// Run servers
servers = await createMultipleServers(2)
diff --git a/packages/tests/src/api/videos/video-channels.ts b/packages/tests/src/api/videos/video-channels.ts
index 531c41e188..c431fc0ebb 100644
--- a/packages/tests/src/api/videos/video-channels.ts
+++ b/packages/tests/src/api/videos/video-channels.ts
@@ -523,7 +523,7 @@ describe('Test video channels', function () {
})
it('Should list channels by updatedAt desc if a video has been uploaded', async function () {
- this.timeout(30000)
+ this.timeout(60000)
await servers[0].videos.upload({ attributes: { channelId: totoChannel } })
await waitJobs(servers)
diff --git a/packages/tests/src/api/videos/video-playlists.ts b/packages/tests/src/api/videos/video-playlists.ts
index 8908730cf1..18fc21e193 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(60000)
+ this.timeout(120000)
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 02d21b64b8..3a13f7279b 100644
--- a/packages/tests/src/api/videos/video-source.ts
+++ b/packages/tests/src/api/videos/video-source.ts
@@ -111,7 +111,7 @@ describe('Test a video file replacement', function () {
})
it('Should replace a video file with transcoding enabled', async function () {
- this.timeout(120000)
+ this.timeout(240000)
const previousPaths: string[] = []
@@ -384,7 +384,7 @@ describe('Test a video file replacement', function () {
})
it('Should replace a video file with transcoding enabled', async function () {
- this.timeout(120000)
+ this.timeout(240000)
const previousPaths: string[] = []
diff --git a/packages/tests/src/api/videos/video-storyboard.ts b/packages/tests/src/api/videos/video-storyboard.ts
index 7d156aa7f2..39890e3ea8 100644
--- a/packages/tests/src/api/videos/video-storyboard.ts
+++ b/packages/tests/src/api/videos/video-storyboard.ts
@@ -139,7 +139,7 @@ describe('Test video storyboard', function () {
})
it('Should generate a storyboard after torrent import', async function () {
- this.timeout(120000)
+ this.timeout(240000)
if (areHttpImportTestsDisabled()) return