aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/multiple-servers.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-11-24 14:39:14 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-11-27 19:40:53 +0100
commit652b30564c41b6ad1a42568a5792cb58d00cd10d (patch)
tree3c4ca434227d31003d1f54f5798ea8de32e28693 /server/tests/api/multiple-servers.ts
parentf10336cad0949c301a46c87b7d2b8010999b23bb (diff)
downloadPeerTube-652b30564c41b6ad1a42568a5792cb58d00cd10d.tar.gz
PeerTube-652b30564c41b6ad1a42568a5792cb58d00cd10d.tar.zst
PeerTube-652b30564c41b6ad1a42568a5792cb58d00cd10d.zip
Increase test timers
Diffstat (limited to 'server/tests/api/multiple-servers.ts')
-rw-r--r--server/tests/api/multiple-servers.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/server/tests/api/multiple-servers.ts b/server/tests/api/multiple-servers.ts
index 601e5f39a..7d06e55d1 100644
--- a/server/tests/api/multiple-servers.ts
+++ b/server/tests/api/multiple-servers.ts
@@ -69,8 +69,7 @@ describe('Test multiple servers', function () {
69 69
70 describe('Should upload the video and propagate on each server', function () { 70 describe('Should upload the video and propagate on each server', function () {
71 it('Should upload the video on server 1 and propagate on each server', async function () { 71 it('Should upload the video on server 1 and propagate on each server', async function () {
72 // Server 1 has video transcoding activated 72 this.timeout(25000)
73 this.timeout(15000)
74 73
75 const videoAttributes = { 74 const videoAttributes = {
76 name: 'my super name for server 1', 75 name: 'my super name for server 1',
@@ -85,7 +84,7 @@ describe('Test multiple servers', function () {
85 } 84 }
86 await uploadVideo(servers[0].url, servers[0].accessToken, videoAttributes) 85 await uploadVideo(servers[0].url, servers[0].accessToken, videoAttributes)
87 86
88 await wait(5000) 87 await wait(10000)
89 88
90 // All servers should have this video 89 // All servers should have this video
91 for (const server of servers) { 90 for (const server of servers) {