diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7db871149..c188c2074 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -95,6 +95,11 @@ jobs: if: github.event_name == 'schedule' || matrix.test_suite != 'external-plugins' run: NODE_PENDING_JOB_WAIT=2000 npm run ci -- ${{ matrix.test_suite }} + - name: Display directories state + if: failure() + run: | + ls -l + - name: Upload logs uses: actions/upload-artifact@v2 if: failure() diff --git a/server/tests/api/live/live.ts b/server/tests/api/live/live.ts index 843943bba..d0586499b 100644 --- a/server/tests/api/live/live.ts +++ b/server/tests/api/live/live.ts @@ -579,7 +579,11 @@ describe('Test live', function () { } const command = await sendRTMPStreamInVideo(servers[0].url, servers[0].accessToken, liveVideoUUID) - await waitUntilLiveStarts(servers[0].url, servers[0].accessToken, liveVideoUUID) + + for (const server of servers) { + await waitUntilLiveStarts(server.url, server.accessToken, liveVideoUUID) + } + await waitJobs(servers) for (const stateChanges of [ localStateChanges, remoteStateChanges ]) { @@ -588,7 +592,10 @@ describe('Test live', function () { } await stopFfmpeg(command) - await waitUntilLiveEnded(servers[0].url, servers[0].accessToken, liveVideoUUID) + + for (const server of servers) { + await waitUntilLiveEnded(server.url, server.accessToken, liveVideoUUID) + } await waitJobs(servers)