1
0
Fork 0

Increase test timeouts

This commit is contained in:
Chocobozzz 2022-09-12 08:29:01 +02:00
parent ab2e90f3ca
commit 0cbcaccb83
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
6 changed files with 8 additions and 6 deletions

View File

@ -22,7 +22,7 @@ describe('Test bulk actions', function () {
let bulkCommand: BulkCommand
before(async function () {
this.timeout(30000)
this.timeout(120000)
servers = await createMultipleServers(2)

View File

@ -506,7 +506,7 @@ describe('Test config', function () {
})
it('Should have the correct updated video allowed extensions', async function () {
this.timeout(10000)
this.timeout(30000)
const data = await server.config.getConfig()

View File

@ -12,6 +12,8 @@ describe('Open Telemetry', function () {
const metricsUrl = 'http://localhost:9092/metrics'
it('Should not enable open telemetry metrics', async function () {
this.timeout(60000)
server = await createSingleServer(1)
let hasError = false

View File

@ -11,7 +11,7 @@ describe('Test application behind a reverse proxy', function () {
let videoId: string
before(async function () {
this.timeout(30000)
this.timeout(60000)
const config = {
rates_limit: {
@ -42,7 +42,7 @@ describe('Test application behind a reverse proxy', function () {
})
it('Should view a video only once with the same IP by default', async function () {
this.timeout(20000)
this.timeout(40000)
await server.views.simulateView({ id: videoId })
await server.views.simulateView({ id: videoId })

View File

@ -185,7 +185,7 @@ describe('Test stats (excluding redundancy)', function () {
})
it('Should correctly count video file sizes if transcoding is enabled', async function () {
this.timeout(60000)
this.timeout(120000)
await servers[0].config.updateCustomSubConfig({
newConfig: {

View File

@ -20,7 +20,7 @@ describe('Test user videos', function () {
let anotherUserToken: string
before(async function () {
this.timeout(30000)
this.timeout(120000)
server = await createSingleServer(1)