Skip to content

Commit

Permalink
Increase other test timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocobozzz committed Oct 18, 2023
1 parent 0397b31 commit ae46844
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/tests/src/api/activitypub/cleaner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ describe('Test AP cleaner', function () {
let videoUUIDs: string[]

before(async function () {
this.timeout(120000)
this.timeout(240000)

const config = {
federation: {
Expand Down
2 changes: 1 addition & 1 deletion packages/tests/src/api/moderation/abuses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion packages/tests/src/api/videos/video-channels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion packages/tests/src/api/videos/video-playlists.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 })
Expand Down
4 changes: 2 additions & 2 deletions packages/tests/src/api/videos/video-source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[] = []

Expand Down Expand Up @@ -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[] = []

Expand Down
2 changes: 1 addition & 1 deletion packages/tests/src/api/videos/video-storyboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ae46844

Please sign in to comment.