diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c188c2074..042ffe0d4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -98,11 +98,11 @@ jobs: - name: Display directories state if: failure() run: | - ls -l + ls -l test* - name: Upload logs uses: actions/upload-artifact@v2 if: failure() with: name: test-storages-${{ matrix.test_suite }} - path: test*/logs + path: test*/logs/* diff --git a/server/tests/api/videos/video-transcoder.ts b/server/tests/api/videos/video-transcoder.ts index 164843d32..f9500d617 100644 --- a/server/tests/api/videos/video-transcoder.ts +++ b/server/tests/api/videos/video-transcoder.ts @@ -434,7 +434,7 @@ describe('Test video transcoding', function () { }) it('Should downscale to the closest divisor standard framerate', async function () { - this.timeout(160000) + this.timeout(200000) let tempFixturePath: string diff --git a/shared/extra-utils/miscs/miscs.ts b/shared/extra-utils/miscs/miscs.ts index 429083fe9..aea9563cf 100644 --- a/shared/extra-utils/miscs/miscs.ts +++ b/shared/extra-utils/miscs/miscs.ts @@ -88,6 +88,7 @@ async function generateHighBitrateVideo () { const exists = await pathExists(tempFixturePath) if (!exists) { + console.log('Generating high bitrate video.') // Generate a random, high bitrate video on the fly, so we don't have to include // a large file in the repo. The video needs to have a certain minimum length so @@ -115,6 +116,8 @@ async function generateVideoWithFramerate (fps = 60) { const exists = await pathExists(tempFixturePath) if (!exists) { + console.log('Generating video with framerate %d.', fps) + return new Promise((res, rej) => { ffmpeg() .outputOptions([ '-f rawvideo', '-video_size 1280x720', '-i /dev/urandom' ])