From e212f88714ec67571970e369b77d6bec887f6d18 Mon Sep 17 00:00:00 2001
From: Chocobozzz <me@florianbigard.com>
Date: Thu, 18 Jan 2018 18:10:45 +0100
Subject: Increase tests timeout

---
 server/tests/api/check-params/accounts.ts       | 2 +-
 server/tests/api/check-params/config.ts         | 2 +-
 server/tests/api/check-params/follows.ts        | 2 +-
 server/tests/api/check-params/users.ts          | 2 +-
 server/tests/api/check-params/video-abuses.ts   | 2 +-
 server/tests/api/check-params/video-channels.ts | 2 +-
 server/tests/api/check-params/video-comments.ts | 2 +-
 server/tests/api/check-params/videos.ts         | 2 +-
 server/tests/api/server/config.ts               | 2 +-
 server/tests/api/server/follows.ts              | 2 +-
 server/tests/api/server/handle-down.ts          | 2 +-
 server/tests/api/users/users.ts                 | 2 +-
 server/tests/api/videos/services.ts             | 2 +-
 server/tests/api/videos/single-server.ts        | 2 +-
 server/tests/api/videos/video-channels.ts       | 2 +-
 server/tests/api/videos/video-comments.ts       | 2 +-
 server/tests/api/videos/video-transcoder.ts     | 2 +-
 17 files changed, 17 insertions(+), 17 deletions(-)

(limited to 'server/tests/api')

diff --git a/server/tests/api/check-params/accounts.ts b/server/tests/api/check-params/accounts.ts
index 351228754..50dc0804e 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 59a0c3049..a2a404702 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 e54f139f0..2bc3b27d9 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 0c9d933a7..b0f35b9f7 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 68e2ce786..68b965bbe 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 22e98d110..d073e28f0 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 9190054da..3fde9bd94 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 5c067dc96..f25e3f595 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 8c1389e7f..0aa0e2ec1 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 b26af1a16..7c4dea458 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 e99e517e4..de4e77b2f 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 d8004ff24..6bb5fd698 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 699f79ab7..e456184cf 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 76d265ec5..476a25479 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 8d33c6025..25b7ad6ab 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 0eddac35b..cf8166a96 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 9ce2ae190..c494e7f67 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)
-- 
cgit v1.2.3