aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/test.yml5
-rw-r--r--server/tests/api/live/live.ts11
2 files changed, 14 insertions, 2 deletions
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:
95 if: github.event_name == 'schedule' || matrix.test_suite != 'external-plugins' 95 if: github.event_name == 'schedule' || matrix.test_suite != 'external-plugins'
96 run: NODE_PENDING_JOB_WAIT=2000 npm run ci -- ${{ matrix.test_suite }} 96 run: NODE_PENDING_JOB_WAIT=2000 npm run ci -- ${{ matrix.test_suite }}
97 97
98 - name: Display directories state
99 if: failure()
100 run: |
101 ls -l
102
98 - name: Upload logs 103 - name: Upload logs
99 uses: actions/upload-artifact@v2 104 uses: actions/upload-artifact@v2
100 if: failure() 105 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 () {
579 } 579 }
580 580
581 const command = await sendRTMPStreamInVideo(servers[0].url, servers[0].accessToken, liveVideoUUID) 581 const command = await sendRTMPStreamInVideo(servers[0].url, servers[0].accessToken, liveVideoUUID)
582 await waitUntilLiveStarts(servers[0].url, servers[0].accessToken, liveVideoUUID) 582
583 for (const server of servers) {
584 await waitUntilLiveStarts(server.url, server.accessToken, liveVideoUUID)
585 }
586
583 await waitJobs(servers) 587 await waitJobs(servers)
584 588
585 for (const stateChanges of [ localStateChanges, remoteStateChanges ]) { 589 for (const stateChanges of [ localStateChanges, remoteStateChanges ]) {
@@ -588,7 +592,10 @@ describe('Test live', function () {
588 } 592 }
589 593
590 await stopFfmpeg(command) 594 await stopFfmpeg(command)
591 await waitUntilLiveEnded(servers[0].url, servers[0].accessToken, liveVideoUUID) 595
596 for (const server of servers) {
597 await waitUntilLiveEnded(server.url, server.accessToken, liveVideoUUID)
598 }
592 599
593 await waitJobs(servers) 600 await waitJobs(servers)
594 601