]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/server/handle-down.ts
Fix tests
[github/Chocobozzz/PeerTube.git] / server / tests / api / server / handle-down.ts
index 0bbd9ef474600f02ca4f5ca95fd6f14107dcc082..1d524aa9351d6275aa514213b56b09430a8dc185 100644 (file)
@@ -16,7 +16,7 @@ import {
 
 describe('Test handle downs', function () {
   let servers: PeerTubeServer[] = []
-  let sqlCommands: SQLCommand[]
+  let sqlCommands: SQLCommand[] = []
 
   let threadIdServer1: number
   let threadIdServer2: number
@@ -282,7 +282,7 @@ describe('Test handle downs', function () {
   })
 
   it('Should upload many videos on server 1', async function () {
-    this.timeout(120000)
+    this.timeout(240000)
 
     for (let i = 0; i < 10; i++) {
       const uuid = (await servers[0].videos.quickUpload({ name: 'video ' + i })).uuid