diff options
Diffstat (limited to 'server/tests/api/video-blacklist-management.ts')
-rw-r--r-- | server/tests/api/video-blacklist-management.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/video-blacklist-management.ts b/server/tests/api/video-blacklist-management.ts index 718789318..0c636e094 100644 --- a/server/tests/api/video-blacklist-management.ts +++ b/server/tests/api/video-blacklist-management.ts | |||
@@ -35,7 +35,7 @@ describe('Test video blacklist management', function () { | |||
35 | } | 35 | } |
36 | 36 | ||
37 | before(async function () { | 37 | before(async function () { |
38 | this.timeout(120000) | 38 | this.timeout(50000) |
39 | 39 | ||
40 | // Run servers | 40 | // Run servers |
41 | servers = await flushAndRunMultipleServers(2) | 41 | servers = await flushAndRunMultipleServers(2) |
@@ -50,8 +50,8 @@ describe('Test video blacklist management', function () { | |||
50 | await uploadVideo(servers[1].url, servers[1].accessToken, { name: 'My 1st video', description: 'A video on server 2' }) | 50 | await uploadVideo(servers[1].url, servers[1].accessToken, { name: 'My 1st video', description: 'A video on server 2' }) |
51 | await uploadVideo(servers[1].url, servers[1].accessToken, { name: 'My 2nd video', description: 'A video on server 2' }) | 51 | await uploadVideo(servers[1].url, servers[1].accessToken, { name: 'My 2nd video', description: 'A video on server 2' }) |
52 | 52 | ||
53 | // Wait videos propagation | 53 | // Wait videos propagation, server 2 has transcoding enabled |
54 | await wait(50000) | 54 | await wait(15000) |
55 | 55 | ||
56 | // Blacklist the two videos on server 1 | 56 | // Blacklist the two videos on server 1 |
57 | await blacklistVideosOnServer(servers[0]) | 57 | await blacklistVideosOnServer(servers[0]) |