1
0
Fork 0

Increase other test timeouts

This commit is contained in:
Chocobozzz 2023-10-18 15:57:11 +02:00
parent 0397b31efe
commit ae468445b2
No known key found for this signature in database
GPG key ID: 583A612D890159BE
6 changed files with 7 additions and 7 deletions

View file

@ -23,7 +23,7 @@ describe('Test AP cleaner', function () {
let videoUUIDs: string[] let videoUUIDs: string[]
before(async function () { before(async function () {
this.timeout(120000) this.timeout(240000)
const config = { const config = {
federation: { federation: {

View file

@ -21,7 +21,7 @@ describe('Test abuses', function () {
let commands: AbusesCommand[] let commands: AbusesCommand[]
before(async function () { before(async function () {
this.timeout(50000) this.timeout(120000)
// Run servers // Run servers
servers = await createMultipleServers(2) servers = await createMultipleServers(2)

View file

@ -523,7 +523,7 @@ describe('Test video channels', function () {
}) })
it('Should list channels by updatedAt desc if a video has been uploaded', async 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 servers[0].videos.upload({ attributes: { channelId: totoChannel } })
await waitJobs(servers) await waitJobs(servers)

View file

@ -537,7 +537,7 @@ describe('Test video playlists', function () {
describe('Element timestamps', function () { describe('Element timestamps', function () {
it('Should create a playlist containing different startTimestamp/endTimestamp videos', async function () { it('Should create a playlist containing different startTimestamp/endTimestamp videos', async function () {
this.timeout(60000) this.timeout(120000)
const addVideo = (attributes: any) => { const addVideo = (attributes: any) => {
return commands[0].addElement({ playlistId: playlistServer1Id, attributes }) return commands[0].addElement({ playlistId: playlistServer1Id, attributes })

View file

@ -111,7 +111,7 @@ describe('Test a video file replacement', function () {
}) })
it('Should replace a video file with transcoding enabled', async function () { it('Should replace a video file with transcoding enabled', async function () {
this.timeout(120000) this.timeout(240000)
const previousPaths: string[] = [] 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 () { it('Should replace a video file with transcoding enabled', async function () {
this.timeout(120000) this.timeout(240000)
const previousPaths: string[] = [] const previousPaths: string[] = []

View file

@ -139,7 +139,7 @@ describe('Test video storyboard', function () {
}) })
it('Should generate a storyboard after torrent import', async function () { it('Should generate a storyboard after torrent import', async function () {
this.timeout(120000) this.timeout(240000)
if (areHttpImportTestsDisabled()) return if (areHttpImportTestsDisabled()) return