diff options
author | Chocobozzz <me@florianbigard.com> | 2021-02-11 14:34:44 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-02-11 14:34:55 +0100 |
commit | ff9112ad21535938940d48d2355ba6ff43b33df8 (patch) | |
tree | f635ded2dd19fe5524d8c1b581a952306b4a2545 /server/tests/api | |
parent | 7d3316dc823106ac9cef53fc8e433af21ef49fb7 (diff) | |
download | PeerTube-ff9112ad21535938940d48d2355ba6ff43b33df8.tar.gz PeerTube-ff9112ad21535938940d48d2355ba6ff43b33df8.tar.zst PeerTube-ff9112ad21535938940d48d2355ba6ff43b33df8.zip |
Increase logs test timeout
Diffstat (limited to 'server/tests/api')
-rw-r--r-- | server/tests/api/server/logs.ts | 12 |
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 ]) |