Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Increase tests timeout

Chocobozzze212f88714ec
diff --git a/server/tests/activitypub.ts b/server/tests/activitypub.ts
index c8884719de..9e29b0fa88 100644
--- a/server/tests/activitypub.ts
+++ b/server/tests/activitypub.ts
@@ -10,7 +10,7 @@ describe('Test activitypub', function () {
let server: ServerInfo = null
before(async function () {
- this.timeout(10000)
+ this.timeout(30000)
await flushTests()
diff --git a/server/tests/api/check-params/accounts.ts b/server/tests/api/check-params/accounts.ts
index 351228754d..50dc0804ef 100644
--- a/server/tests/api/check-params/accounts.ts
+++ b/server/tests/api/check-params/accounts.ts
@@ -13,7 +13,7 @@ describe('Test users API validators', function () {
// ---------------------------------------------------------------
before(async function () {
- this.timeout(20000)
+ this.timeout(30000)
await flushTests()
diff --git a/server/tests/api/check-params/config.ts b/server/tests/api/check-params/config.ts
index 59a0c30498..a2a4047023 100644
--- a/server/tests/api/check-params/config.ts
+++ b/server/tests/api/check-params/config.ts
@@ -45,7 +45,7 @@ describe('Test config API validators', function () {
// ---------------------------------------------------------------
before(async function () {
- this.timeout(20000)
+ this.timeout(30000)
await flushTests()
server = await runServer(1)
diff --git a/server/tests/api/check-params/follows.ts b/server/tests/api/check-params/follows.ts
index e54f139f07..2bc3b27d9e 100644
--- a/server/tests/api/check-params/follows.ts
+++ b/server/tests/api/check-params/follows.ts
@@ -14,7 +14,7 @@ describe('Test server follows API validators', function () {
// ---------------------------------------------------------------
before(async function () {
- this.timeout(20000)
+ this.timeout(30000)
await flushTests()
server = await runServer(1)
diff --git a/server/tests/api/check-params/users.ts b/server/tests/api/check-params/users.ts
index 0c9d933a7c..b0f35b9f71 100644
--- a/server/tests/api/check-params/users.ts
+++ b/server/tests/api/check-params/users.ts
@@ -24,7 +24,7 @@ describe('Test users API validators', function () {
// ---------------------------------------------------------------
before(async function () {
- this.timeout(20000)
+ this.timeout(30000)
await flushTests()
diff --git a/server/tests/api/check-params/video-abuses.ts b/server/tests/api/check-params/video-abuses.ts
index 68e2ce7860..68b965bbed 100644
--- a/server/tests/api/check-params/video-abuses.ts
+++ b/server/tests/api/check-params/video-abuses.ts
@@ -15,7 +15,7 @@ describe('Test video abuses API validators', function () {
// ---------------------------------------------------------------
before(async function () {
- this.timeout(20000)
+ this.timeout(30000)
await flushTests()
diff --git a/server/tests/api/check-params/video-channels.ts b/server/tests/api/check-params/video-channels.ts
index 22e98d1105..d073e28f0a 100644
--- a/server/tests/api/check-params/video-channels.ts
+++ b/server/tests/api/check-params/video-channels.ts
@@ -19,7 +19,7 @@ describe('Test videos API validator', function () {
// ---------------------------------------------------------------
before(async function () {
- this.timeout(20000)
+ this.timeout(30000)
await flushTests()
diff --git a/server/tests/api/check-params/video-comments.ts b/server/tests/api/check-params/video-comments.ts
index 9190054da9..3fde9bd947 100644
--- a/server/tests/api/check-params/video-comments.ts
+++ b/server/tests/api/check-params/video-comments.ts
@@ -23,7 +23,7 @@ describe('Test video comments API validator', function () {
// ---------------------------------------------------------------
before(async function () {
- this.timeout(20000)
+ this.timeout(30000)
await flushTests()
diff --git a/server/tests/api/check-params/videos.ts b/server/tests/api/check-params/videos.ts
index 5c067dc96a..f25e3f5953 100644
--- a/server/tests/api/check-params/videos.ts
+++ b/server/tests/api/check-params/videos.ts
@@ -21,7 +21,7 @@ describe('Test videos API validator', function () {
// ---------------------------------------------------------------
before(async function () {
- this.timeout(20000)
+ this.timeout(30000)
await flushTests()
diff --git a/server/tests/api/server/config.ts b/server/tests/api/server/config.ts
index 8c1389e7f5..0aa0e2ec19 100644
--- a/server/tests/api/server/config.ts
+++ b/server/tests/api/server/config.ts
@@ -16,7 +16,7 @@ describe('Test config', function () {
let server = null
before(async function () {
- this.timeout(10000)
+ this.timeout(30000)
await flushTests()
server = await runServer(1)
diff --git a/server/tests/api/server/follows.ts b/server/tests/api/server/follows.ts
index b26af1a169..7c4dea458a 100644
--- a/server/tests/api/server/follows.ts
+++ b/server/tests/api/server/follows.ts
@@ -27,7 +27,7 @@ describe('Test follows', function () {
let servers: ServerInfo[] = []
before(async function () {
- this.timeout(20000)
+ this.timeout(30000)
servers = await flushAndRunMultipleServers(3)
diff --git a/server/tests/api/server/handle-down.ts b/server/tests/api/server/handle-down.ts
index e99e517e4e..de4e77b2f5 100644
--- a/server/tests/api/server/handle-down.ts
+++ b/server/tests/api/server/handle-down.ts
@@ -76,7 +76,7 @@ describe('Test handle downs', function () {
})
before(async function () {
- this.timeout(20000)
+ this.timeout(30000)
servers = await flushAndRunMultipleServers(2)
diff --git a/server/tests/api/users/users.ts b/server/tests/api/users/users.ts
index d8004ff24f..6bb5fd698f 100644
--- a/server/tests/api/users/users.ts
+++ b/server/tests/api/users/users.ts
@@ -23,7 +23,7 @@ describe('Test users', function () {
let userId: number
before(async function () {
- this.timeout(10000)
+ this.timeout(30000)
await flushTests()
server = await runServer(1)
diff --git a/server/tests/api/videos/services.ts b/server/tests/api/videos/services.ts
index 699f79ab72..e456184cf0 100644
--- a/server/tests/api/videos/services.ts
+++ b/server/tests/api/videos/services.ts
@@ -11,7 +11,7 @@ describe('Test services', function () {
let server: ServerInfo = null
before(async function () {
- this.timeout(10000)
+ this.timeout(30000)
await flushTests()
diff --git a/server/tests/api/videos/single-server.ts b/server/tests/api/videos/single-server.ts
index 76d265ec57..476a25479e 100644
--- a/server/tests/api/videos/single-server.ts
+++ b/server/tests/api/videos/single-server.ts
@@ -76,7 +76,7 @@ describe('Test a single server', function () {
}
before(async function () {
- this.timeout(10000)
+ this.timeout(30000)
await flushTests()
diff --git a/server/tests/api/videos/video-channels.ts b/server/tests/api/videos/video-channels.ts
index 8d33c60259..25b7ad6abd 100644
--- a/server/tests/api/videos/video-channels.ts
+++ b/server/tests/api/videos/video-channels.ts
@@ -26,7 +26,7 @@ describe('Test a video channels', function () {
let videoChannelId: number
before(async function () {
- this.timeout(10000)
+ this.timeout(30000)
await flushTests()
diff --git a/server/tests/api/videos/video-comments.ts b/server/tests/api/videos/video-comments.ts
index 0eddac35b6..cf8166a964 100644
--- a/server/tests/api/videos/video-comments.ts
+++ b/server/tests/api/videos/video-comments.ts
@@ -23,7 +23,7 @@ describe('Test video comments', function () {
let replyToDeleteId: number
before(async function () {
- this.timeout(10000)
+ this.timeout(30000)
await flushTests()
diff --git a/server/tests/api/videos/video-transcoder.ts b/server/tests/api/videos/video-transcoder.ts
index 9ce2ae1900..c494e7f677 100644
--- a/server/tests/api/videos/video-transcoder.ts
+++ b/server/tests/api/videos/video-transcoder.ts
@@ -13,7 +13,7 @@ describe('Test video transcoding', function () {
let servers: ServerInfo[] = []
before(async function () {
- this.timeout(10000)
+ this.timeout(30000)
// Run servers
servers = await flushAndRunMultipleServers(2)