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 ])