]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Set AKISMET_KEY as env
authorChocobozzz <me@florianbigard.com>
Wed, 28 Sep 2022 06:24:18 +0000 (08:24 +0200)
committerChocobozzz <me@florianbigard.com>
Wed, 28 Sep 2022 06:25:46 +0000 (08:25 +0200)
.github/workflows/test.yml
server/tests/api/videos/multiple-servers.ts
server/tests/api/videos/video-files.ts
server/tests/api/videos/video-playlists.ts
server/tests/api/videos/video-privacy.ts

index ae19615c5b33b1013503e5a73d03df1fa77a124e..1c2f8093acd95a3ead39c27e36e737f75f00b5bf 100644 (file)
@@ -75,6 +75,8 @@ jobs:
       - name: Run Test
         # external-plugins tests only run on schedule
         if: github.event_name == 'schedule' || matrix.test_suite != 'external-plugins'
+        env:
+          AKISMET_KEY: ${{ secrets.AKISMET_KEY }}
         run: npm run ci -- ${{ matrix.test_suite }}
 
       - name: Display errors
index d47807a796b4e8c8ab081c673db594a98030dbf1..2ad749fd4d5ceed7c918a8feb0851b2cf0607dee 100644 (file)
@@ -156,7 +156,7 @@ describe('Test multiple servers', function () {
     })
 
     it('Should upload the video on server 2 and propagate on each server', async function () {
-      this.timeout(100000)
+      this.timeout(240000)
 
       const user = {
         username: 'user1',
index 10277b9cf5937cf6e882fed192a575a5a62d76a7..c0b886aad380083d2a9081514f60d56cf9735af7 100644 (file)
@@ -33,7 +33,7 @@ describe('Test videos files', function () {
     let validId2: string
 
     before(async function () {
-      this.timeout(120_000)
+      this.timeout(360_000)
 
       {
         const { uuid } = await servers[0].videos.quickUpload({ name: 'video 1' })
index 47b8c7b1e4cca8d2b33d32ccf851ce79cd144213..a0c743170410255886aaaf227593641b5f89b834 100644 (file)
@@ -70,7 +70,7 @@ describe('Test video playlists', function () {
   let commands: PlaylistsCommand[]
 
   before(async function () {
-    this.timeout(120000)
+    this.timeout(240000)
 
     servers = await createMultipleServers(3)
 
index b18c71c940d18b0d9dbd62fd9e2e5d8dc4fbaa4c..92f5dab3c03e6846b14f67d60949f4091a7f9d85 100644 (file)
@@ -45,7 +45,7 @@ describe('Test video privacy', function () {
   describe('Private and internal videos', function () {
 
     it('Should upload a private and internal videos on server 1', async function () {
-      this.timeout(10000)
+      this.timeout(50000)
 
       for (const privacy of [ VideoPrivacy.PRIVATE, VideoPrivacy.INTERNAL ]) {
         const attributes = { privacy }