aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-01-18 18:10:45 +0100
committerChocobozzz <me@florianbigard.com>2018-01-18 18:10:45 +0100
commite212f88714ec67571970e369b77d6bec887f6d18 (patch)
treea6e962c3208a02db913add3baa237888f4b79b62
parent5668bf2e51051c809d84b809e2644358fa5fd287 (diff)
downloadPeerTube-e212f88714ec67571970e369b77d6bec887f6d18.tar.gz
PeerTube-e212f88714ec67571970e369b77d6bec887f6d18.tar.zst
PeerTube-e212f88714ec67571970e369b77d6bec887f6d18.zip
Increase tests timeout
-rw-r--r--server/tests/activitypub.ts2
-rw-r--r--server/tests/api/check-params/accounts.ts2
-rw-r--r--server/tests/api/check-params/config.ts2
-rw-r--r--server/tests/api/check-params/follows.ts2
-rw-r--r--server/tests/api/check-params/users.ts2
-rw-r--r--server/tests/api/check-params/video-abuses.ts2
-rw-r--r--server/tests/api/check-params/video-channels.ts2
-rw-r--r--server/tests/api/check-params/video-comments.ts2
-rw-r--r--server/tests/api/check-params/videos.ts2
-rw-r--r--server/tests/api/server/config.ts2
-rw-r--r--server/tests/api/server/follows.ts2
-rw-r--r--server/tests/api/server/handle-down.ts2
-rw-r--r--server/tests/api/users/users.ts2
-rw-r--r--server/tests/api/videos/services.ts2
-rw-r--r--server/tests/api/videos/single-server.ts2
-rw-r--r--server/tests/api/videos/video-channels.ts2
-rw-r--r--server/tests/api/videos/video-comments.ts2
-rw-r--r--server/tests/api/videos/video-transcoder.ts2
18 files changed, 18 insertions, 18 deletions
diff --git a/server/tests/activitypub.ts b/server/tests/activitypub.ts
index c8884719d..9e29b0fa8 100644
--- a/server/tests/activitypub.ts
+++ b/server/tests/activitypub.ts
@@ -10,7 +10,7 @@ describe('Test activitypub', function () {
10 let server: ServerInfo = null 10 let server: ServerInfo = null
11 11
12 before(async function () { 12 before(async function () {
13 this.timeout(10000) 13 this.timeout(30000)
14 14
15 await flushTests() 15 await flushTests()
16 16
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 () {
13 // --------------------------------------------------------------- 13 // ---------------------------------------------------------------
14 14
15 before(async function () { 15 before(async function () {
16 this.timeout(20000) 16 this.timeout(30000)
17 17
18 await flushTests() 18 await flushTests()
19 19
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 () {
45 // --------------------------------------------------------------- 45 // ---------------------------------------------------------------
46 46
47 before(async function () { 47 before(async function () {
48 this.timeout(20000) 48 this.timeout(30000)
49 49
50 await flushTests() 50 await flushTests()
51 server = await runServer(1) 51 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 () {
14 // --------------------------------------------------------------- 14 // ---------------------------------------------------------------
15 15
16 before(async function () { 16 before(async function () {
17 this.timeout(20000) 17 this.timeout(30000)
18 18
19 await flushTests() 19 await flushTests()
20 server = await runServer(1) 20 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 () {
24 // --------------------------------------------------------------- 24 // ---------------------------------------------------------------
25 25
26 before(async function () { 26 before(async function () {
27 this.timeout(20000) 27 this.timeout(30000)
28 28
29 await flushTests() 29 await flushTests()
30 30
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 () {
15 // --------------------------------------------------------------- 15 // ---------------------------------------------------------------
16 16
17 before(async function () { 17 before(async function () {
18 this.timeout(20000) 18 this.timeout(30000)
19 19
20 await flushTests() 20 await flushTests()
21 21
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 () {
19 // --------------------------------------------------------------- 19 // ---------------------------------------------------------------
20 20
21 before(async function () { 21 before(async function () {
22 this.timeout(20000) 22 this.timeout(30000)
23 23
24 await flushTests() 24 await flushTests()
25 25
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 () {
23 // --------------------------------------------------------------- 23 // ---------------------------------------------------------------
24 24
25 before(async function () { 25 before(async function () {
26 this.timeout(20000) 26 this.timeout(30000)
27 27
28 await flushTests() 28 await flushTests()
29 29
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 () {
21 // --------------------------------------------------------------- 21 // ---------------------------------------------------------------
22 22
23 before(async function () { 23 before(async function () {
24 this.timeout(20000) 24 this.timeout(30000)
25 25
26 await flushTests() 26 await flushTests()
27 27
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 () {
16 let server = null 16 let server = null
17 17
18 before(async function () { 18 before(async function () {
19 this.timeout(10000) 19 this.timeout(30000)
20 20
21 await flushTests() 21 await flushTests()
22 server = await runServer(1) 22 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 () {
27 let servers: ServerInfo[] = [] 27 let servers: ServerInfo[] = []
28 28
29 before(async function () { 29 before(async function () {
30 this.timeout(20000) 30 this.timeout(30000)
31 31
32 servers = await flushAndRunMultipleServers(3) 32 servers = await flushAndRunMultipleServers(3)
33 33
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 () {
76 }) 76 })
77 77
78 before(async function () { 78 before(async function () {
79 this.timeout(20000) 79 this.timeout(30000)
80 80
81 servers = await flushAndRunMultipleServers(2) 81 servers = await flushAndRunMultipleServers(2)
82 82
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 () {
23 let userId: number 23 let userId: number
24 24
25 before(async function () { 25 before(async function () {
26 this.timeout(10000) 26 this.timeout(30000)
27 27
28 await flushTests() 28 await flushTests()
29 server = await runServer(1) 29 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 () {
11 let server: ServerInfo = null 11 let server: ServerInfo = null
12 12
13 before(async function () { 13 before(async function () {
14 this.timeout(10000) 14 this.timeout(30000)
15 15
16 await flushTests() 16 await flushTests()
17 17
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 () {
76 } 76 }
77 77
78 before(async function () { 78 before(async function () {
79 this.timeout(10000) 79 this.timeout(30000)
80 80
81 await flushTests() 81 await flushTests()
82 82
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 () {
26 let videoChannelId: number 26 let videoChannelId: number
27 27
28 before(async function () { 28 before(async function () {
29 this.timeout(10000) 29 this.timeout(30000)
30 30
31 await flushTests() 31 await flushTests()
32 32
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 () {
23 let replyToDeleteId: number 23 let replyToDeleteId: number
24 24
25 before(async function () { 25 before(async function () {
26 this.timeout(10000) 26 this.timeout(30000)
27 27
28 await flushTests() 28 await flushTests()
29 29
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 () {
13 let servers: ServerInfo[] = [] 13 let servers: ServerInfo[] = []
14 14
15 before(async function () { 15 before(async function () {
16 this.timeout(10000) 16 this.timeout(30000)
17 17
18 // Run servers 18 // Run servers
19 servers = await flushAndRunMultipleServers(2) 19 servers = await flushAndRunMultipleServers(2)