mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-11-24 09:40:28 -06:00
Try to fix live tests
This commit is contained in:
parent
6b88559bab
commit
0484ec9e41
5
.github/workflows/test.yml
vendored
5
.github/workflows/test.yml
vendored
@ -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()
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user