aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/server/logs.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/server/logs.ts')
-rw-r--r--server/tests/api/server/logs.ts13
1 files changed, 7 insertions, 6 deletions
diff --git a/server/tests/api/server/logs.ts b/server/tests/api/server/logs.ts
index 3b3314d34..a662992e0 100644
--- a/server/tests/api/server/logs.ts
+++ b/server/tests/api/server/logs.ts
@@ -28,7 +28,7 @@ describe('Test logs', function () {
28 describe('With the standard log file', function () { 28 describe('With the standard log file', function () {
29 29
30 it('Should get logs with a start date', async function () { 30 it('Should get logs with a start date', async function () {
31 this.timeout(20000) 31 this.timeout(60000)
32 32
33 await server.videos.upload({ attributes: { name: 'video 1' } }) 33 await server.videos.upload({ attributes: { name: 'video 1' } })
34 await waitJobs([ server ]) 34 await waitJobs([ server ])
@@ -46,7 +46,7 @@ describe('Test logs', function () {
46 }) 46 })
47 47
48 it('Should get logs with an end date', async function () { 48 it('Should get logs with an end date', async function () {
49 this.timeout(30000) 49 this.timeout(60000)
50 50
51 await server.videos.upload({ attributes: { name: 'video 3' } }) 51 await server.videos.upload({ attributes: { name: 'video 3' } })
52 await waitJobs([ server ]) 52 await waitJobs([ server ])
@@ -70,7 +70,7 @@ describe('Test logs', function () {
70 }) 70 })
71 71
72 it('Should filter by level', async function () { 72 it('Should filter by level', async function () {
73 this.timeout(20000) 73 this.timeout(60000)
74 74
75 const now = new Date() 75 const now = new Date()
76 76
@@ -127,7 +127,7 @@ describe('Test logs', function () {
127 }) 127 })
128 128
129 it('Should not log ping requests', async function () { 129 it('Should not log ping requests', async function () {
130 this.timeout(30000) 130 this.timeout(60000)
131 131
132 await killallServers([ server ]) 132 await killallServers([ server ])
133 133
@@ -145,8 +145,9 @@ describe('Test logs', function () {
145 }) 145 })
146 146
147 describe('With the audit log', function () { 147 describe('With the audit log', function () {
148
148 it('Should get logs with a start date', async function () { 149 it('Should get logs with a start date', async function () {
149 this.timeout(20000) 150 this.timeout(60000)
150 151
151 await server.videos.upload({ attributes: { name: 'video 7' } }) 152 await server.videos.upload({ attributes: { name: 'video 7' } })
152 await waitJobs([ server ]) 153 await waitJobs([ server ])
@@ -172,7 +173,7 @@ describe('Test logs', function () {
172 }) 173 })
173 174
174 it('Should get logs with an end date', async function () { 175 it('Should get logs with an end date', async function () {
175 this.timeout(30000) 176 this.timeout(60000)
176 177
177 await server.videos.upload({ attributes: { name: 'video 9' } }) 178 await server.videos.upload({ attributes: { name: 'video 9' } })
178 await waitJobs([ server ]) 179 await waitJobs([ server ])