ActivityPub-federated video streaming platform using P2P directly in your web browser
Increase test timeouts
Chocobozzz0cbcaccb8380
diff --git a/server/tests/api/server/bulk.ts b/server/tests/api/server/bulk.tsindex 05762c7c2c..7c8b40cbe0 100644--- a/server/tests/api/server/bulk.ts+++ b/server/tests/api/server/bulk.ts@@ -22,7 +22,7 @@ describe('Test bulk actions', function () {let bulkCommand: BulkCommandbefore(async function () {- this.timeout(30000)+ this.timeout(120000)servers = await createMultipleServers(2)diff --git a/server/tests/api/server/config.ts b/server/tests/api/server/config.tsindex b8c99e8046..22446fe0c9 100644--- a/server/tests/api/server/config.ts+++ b/server/tests/api/server/config.ts@@ -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()diff --git a/server/tests/api/server/open-telemetry.ts b/server/tests/api/server/open-telemetry.tsindex d8b1194c6c..43a27cc32b 100644--- a/server/tests/api/server/open-telemetry.ts+++ b/server/tests/api/server/open-telemetry.ts@@ -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 = falsediff --git a/server/tests/api/server/reverse-proxy.ts b/server/tests/api/server/reverse-proxy.tsindex 0a1565faff..d882f0bde7 100644--- a/server/tests/api/server/reverse-proxy.ts+++ b/server/tests/api/server/reverse-proxy.ts@@ -11,7 +11,7 @@ describe('Test application behind a reverse proxy', function () {let videoId: stringbefore(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 })diff --git a/server/tests/api/server/stats.ts b/server/tests/api/server/stats.tsindex 762fc422df..83b0e73d6b 100644--- a/server/tests/api/server/stats.ts+++ b/server/tests/api/server/stats.ts@@ -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: {diff --git a/server/tests/api/users/user-videos.ts b/server/tests/api/users/user-videos.tsindex 4343c1e495..0351ae8535 100644--- a/server/tests/api/users/user-videos.ts+++ b/server/tests/api/users/user-videos.ts@@ -20,7 +20,7 @@ describe('Test user videos', function () {let anotherUserToken: stringbefore(async function () {- this.timeout(30000)+ this.timeout(120000)server = await createSingleServer(1)