]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/multiple-servers.ts
Upgrade server dep'
[github/Chocobozzz/PeerTube.git] / server / tests / api / multiple-servers.ts
index 601e5f39a10b80e9613f68bc8dd401a1a375ec82..052b0231f2c986cedf869c726440a3f3b1ff29ab 100644 (file)
@@ -69,8 +69,7 @@ describe('Test multiple servers', function () {
 
   describe('Should upload the video and propagate on each server', function () {
     it('Should upload the video on server 1 and propagate on each server', async function () {
-      // Server 1 has video transcoding activated
-      this.timeout(15000)
+      this.timeout(25000)
 
       const videoAttributes = {
         name: 'my super name for server 1',
@@ -85,7 +84,7 @@ describe('Test multiple servers', function () {
       }
       await uploadVideo(servers[0].url, servers[0].accessToken, videoAttributes)
 
-      await wait(5000)
+      await wait(10000)
 
       // All servers should have this video
       for (const server of servers) {
@@ -175,7 +174,7 @@ describe('Test multiple servers', function () {
       await uploadVideo(servers[1].url, userAccessToken, videoAttributes)
 
       // Transcoding
-      await wait(25000)
+      await wait(30000)
 
       // All servers should have this video
       for (const server of servers) {