ActivityPub-federated video streaming platform using P2P directly in your web browser
Add logs to fixture generations
Chocobozzz9e3e4adc6503
diff --git a/.github/workflows/test.yml b/.github/workflows/test.ymlindex c188c20743..042ffe0d42 100644--- a/.github/workflows/test.yml+++ b/.github/workflows/test.yml@@ -98,11 +98,11 @@ jobs:- name: Display directories stateif: failure()run: |- ls -l+ ls -l test*- name: Upload logsuses: actions/upload-artifact@v2if: 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.tsindex 164843d322..f9500d6171 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: stringdiff --git a/shared/extra-utils/miscs/miscs.ts b/shared/extra-utils/miscs/miscs.tsindex 429083fe9c..aea9563cf4 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<string>((res, rej) => {ffmpeg().outputOptions([ '-f rawvideo', '-video_size 1280x720', '-i /dev/urandom' ])