aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--server/tests/api/server/logs.ts12
1 files changed, 7 insertions, 5 deletions
diff --git a/server/tests/api/server/logs.ts b/server/tests/api/server/logs.ts
index 6b1eb776c..bc398ea73 100644
--- a/server/tests/api/server/logs.ts
+++ b/server/tests/api/server/logs.ts
@@ -30,7 +30,7 @@ describe('Test logs', function () {
30 describe('With the standard log file', function () { 30 describe('With the standard log file', function () {
31 31
32 it('Should get logs with a start date', async function () { 32 it('Should get logs with a start date', async function () {
33 this.timeout(10000) 33 this.timeout(20000)
34 34
35 await uploadVideo(server.url, server.accessToken, { name: 'video 1' }) 35 await uploadVideo(server.url, server.accessToken, { name: 'video 1' })
36 await waitJobs([ server ]) 36 await waitJobs([ server ])
@@ -48,7 +48,7 @@ describe('Test logs', function () {
48 }) 48 })
49 49
50 it('Should get logs with an end date', async function () { 50 it('Should get logs with an end date', async function () {
51 this.timeout(20000) 51 this.timeout(30000)
52 52
53 await uploadVideo(server.url, server.accessToken, { name: 'video 3' }) 53 await uploadVideo(server.url, server.accessToken, { name: 'video 3' })
54 await waitJobs([ server ]) 54 await waitJobs([ server ])
@@ -72,7 +72,7 @@ describe('Test logs', function () {
72 }) 72 })
73 73
74 it('Should get filter by level', async function () { 74 it('Should get filter by level', async function () {
75 this.timeout(10000) 75 this.timeout(20000)
76 76
77 const now = new Date() 77 const now = new Date()
78 78
@@ -95,6 +95,8 @@ describe('Test logs', function () {
95 }) 95 })
96 96
97 it('Should log ping requests', async function () { 97 it('Should log ping requests', async function () {
98 this.timeout(10000)
99
98 const now = new Date() 100 const now = new Date()
99 101
100 await makePingRequest(server) 102 await makePingRequest(server)
@@ -125,7 +127,7 @@ describe('Test logs', function () {
125 127
126 describe('With the audit log', function () { 128 describe('With the audit log', function () {
127 it('Should get logs with a start date', async function () { 129 it('Should get logs with a start date', async function () {
128 this.timeout(10000) 130 this.timeout(20000)
129 131
130 await uploadVideo(server.url, server.accessToken, { name: 'video 7' }) 132 await uploadVideo(server.url, server.accessToken, { name: 'video 7' })
131 await waitJobs([ server ]) 133 await waitJobs([ server ])
@@ -151,7 +153,7 @@ describe('Test logs', function () {
151 }) 153 })
152 154
153 it('Should get logs with an end date', async function () { 155 it('Should get logs with an end date', async function () {
154 this.timeout(20000) 156 this.timeout(30000)
155 157
156 await uploadVideo(server.url, server.accessToken, { name: 'video 9' }) 158 await uploadVideo(server.url, server.accessToken, { name: 'video 9' })
157 await waitJobs([ server ]) 159 await waitJobs([ server ])