Increase test timeouts
This commit is contained in:
parent
ab2e90f3ca
commit
0cbcaccb83
|
@ -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)
|
||||
|
||||
|
|
|
@ -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()
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 })
|
||||
|
|
|
@ -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: {
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue