aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/video-description.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/video-description.ts')
-rw-r--r--server/tests/api/video-description.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/tests/api/video-description.ts b/server/tests/api/video-description.ts
index 187fd21f2..7ad1c63ae 100644
--- a/server/tests/api/video-description.ts
+++ b/server/tests/api/video-description.ts
@@ -26,7 +26,7 @@ describe('Test video description', function () {
26 let longDescription = 'my super description for server 1'.repeat(50) 26 let longDescription = 'my super description for server 1'.repeat(50)
27 27
28 before(async function () { 28 before(async function () {
29 this.timeout(30000) 29 this.timeout(40000)
30 30
31 // Run servers 31 // Run servers
32 servers = await flushAndRunMultipleServers(2) 32 servers = await flushAndRunMultipleServers(2)
@@ -39,14 +39,14 @@ describe('Test video description', function () {
39 }) 39 })
40 40
41 it('Should upload video with long description', async function () { 41 it('Should upload video with long description', async function () {
42 this.timeout(30000) 42 this.timeout(10000)
43 43
44 const attributes = { 44 const attributes = {
45 description: longDescription 45 description: longDescription
46 } 46 }
47 await uploadVideo(servers[0].url, servers[0].accessToken, attributes) 47 await uploadVideo(servers[0].url, servers[0].accessToken, attributes)
48 48
49 await wait(25000) 49 await wait(5000)
50 50
51 const res = await getVideosList(servers[0].url) 51 const res = await getVideosList(servers[0].url)
52 52
@@ -78,14 +78,14 @@ describe('Test video description', function () {
78 }) 78 })
79 79
80 it('Should update with a short description', async function () { 80 it('Should update with a short description', async function () {
81 this.timeout(30000) 81 this.timeout(10000)
82 82
83 const attributes = { 83 const attributes = {
84 description: 'short description' 84 description: 'short description'
85 } 85 }
86 await updateVideo(servers[0].url, servers[0].accessToken, videoId, attributes) 86 await updateVideo(servers[0].url, servers[0].accessToken, videoId, attributes)
87 87
88 await wait(25000) 88 await wait(5000)
89 }) 89 })
90 90
91 it('Should have a small description on each server', async function () { 91 it('Should have a small description on each server', async function () {