})
it('Should correctly have updated the live and federated it when streaming in the live', async function () {
- this.timeout(40000)
+ this.timeout(60000)
ffmpegCommand = await servers[0].live.sendRTMPStreamInVideo({ videoId: liveVideoUUID })
})
it('Should correctly delete the video files after the stream ended', async function () {
- this.timeout(40000)
+ this.timeout(60000)
sessionEndDateMin = new Date()
await stopFfmpeg(ffmpegCommand)
})
it('Should correctly terminate the stream on delete and delete the video', async function () {
- this.timeout(40000)
+ this.timeout(60000)
await publishLiveAndDelete({ permanent: false, replay: false })
describe('With save replay enabled on non permanent live', function () {
it('Should correctly create and federate the "waiting for stream" live', async function () {
- this.timeout(40000)
+ this.timeout(60000)
liveVideoUUID = await createLiveWrapper({ permanent: false, replay: true, replaySettings: { privacy: VideoPrivacy.UNLISTED } })
})
it('Should correctly have updated the live and federated it when streaming in the live', async function () {
- this.timeout(40000)
+ this.timeout(60000)
ffmpegCommand = await servers[0].live.sendRTMPStreamInVideo({ videoId: liveVideoUUID })
await waitUntilLivePublishedOnAllServers(servers, liveVideoUUID)
})
it('Should correctly have saved the live and federated it after the streaming', async function () {
- this.timeout(40000)
+ this.timeout(60000)
const session = await servers[0].live.findLatestSession({ videoId: liveVideoUUID })
expect(session.endDate).to.not.exist
})
it('Should update the saved live and correctly federate the updated attributes', async function () {
- this.timeout(40000)
+ this.timeout(60000)
await servers[0].videos.update({ id: liveVideoUUID, attributes: { name: 'video updated', privacy: VideoPrivacy.PUBLIC } })
await waitJobs(servers)
})
it('Should correctly terminate the stream on delete and delete the video', async function () {
- this.timeout(40000)
+ this.timeout(60000)
await publishLiveAndDelete({ permanent: false, replay: true, replaySettings: { privacy: VideoPrivacy.PUBLIC } })
describe('With a first live and its replay', function () {
it('Should correctly create and federate the "waiting for stream" live', async function () {
- this.timeout(40000)
+ this.timeout(60000)
liveVideoUUID = await createLiveWrapper({ permanent: true, replay: true, replaySettings: { privacy: VideoPrivacy.UNLISTED } })
})
it('Should correctly have updated the live and federated it when streaming in the live', async function () {
- this.timeout(40000)
+ this.timeout(60000)
ffmpegCommand = await servers[0].live.sendRTMPStreamInVideo({ videoId: liveVideoUUID })
await waitUntilLivePublishedOnAllServers(servers, liveVideoUUID)
})
it('Should correctly have saved the live and federated it after the streaming', async function () {
- this.timeout(40000)
+ this.timeout(60000)
const liveDetails = await servers[0].videos.get({ id: liveVideoUUID })
})
it('Should correctly have updated the live and federated it when streaming in the live', async function () {
- this.timeout(40000)
+ this.timeout(60000)
ffmpegCommand = await servers[0].live.sendRTMPStreamInVideo({ videoId: liveVideoUUID })
await waitUntilLivePublishedOnAllServers(servers, liveVideoUUID)
})
it('Should correctly have saved the live and federated it after the streaming', async function () {
- this.timeout(40000)
+ this.timeout(60000)
const liveDetails = await servers[0].videos.get({ id: liveVideoUUID })
})
it('Should correctly terminate the stream on delete and not save the video', async function () {
- this.timeout(40000)
+ this.timeout(60000)
const { liveDetails } = await publishLiveAndDelete({
permanent: true,
describe('With the standard log file', function () {
it('Should get logs with a start date', async function () {
- this.timeout(20000)
+ this.timeout(60000)
await server.videos.upload({ attributes: { name: 'video 1' } })
await waitJobs([ server ])
})
it('Should get logs with an end date', async function () {
- this.timeout(30000)
+ this.timeout(60000)
await server.videos.upload({ attributes: { name: 'video 3' } })
await waitJobs([ server ])
})
it('Should filter by level', async function () {
- this.timeout(20000)
+ this.timeout(60000)
const now = new Date()
})
it('Should not log ping requests', async function () {
- this.timeout(30000)
+ this.timeout(60000)
await killallServers([ server ])
})
describe('With the audit log', function () {
+
it('Should get logs with a start date', async function () {
- this.timeout(20000)
+ this.timeout(60000)
await server.videos.upload({ attributes: { name: 'video 7' } })
await waitJobs([ server ])
})
it('Should get logs with an end date', async function () {
- this.timeout(30000)
+ this.timeout(60000)
await server.videos.upload({ attributes: { name: 'video 9' } })
await waitJobs([ server ])