aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/video-blacklist-management.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-11-17 15:42:12 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-11-27 19:40:52 +0100
commit572f8d3dba44ba874f5c51023214273e3f5b643c (patch)
treed8f71046205d5e4618f5a1c5ed002dd1b8bc6661 /server/tests/api/video-blacklist-management.ts
parent9a27cdc27c900feaae5f6db4315c4ccdfc0c4493 (diff)
downloadPeerTube-572f8d3dba44ba874f5c51023214273e3f5b643c.tar.gz
PeerTube-572f8d3dba44ba874f5c51023214273e3f5b643c.tar.zst
PeerTube-572f8d3dba44ba874f5c51023214273e3f5b643c.zip
Fix public video we set to public or unlisted
Diffstat (limited to 'server/tests/api/video-blacklist-management.ts')
-rw-r--r--server/tests/api/video-blacklist-management.ts6
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])