mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-10-05 17:49:01 +03:00
Fix check logs params tests
This commit is contained in:
parent
532d8d4a39
commit
0870a3fe51
@ -135,7 +135,7 @@ describe('Test logs API validators', function () {
|
||||
})
|
||||
|
||||
it('Should fail with an invalid meta', async function () {
|
||||
await server.logs.createLogClient({ payload: { ...base, meta: 's'.repeat(10000) }, expectedStatus })
|
||||
await server.logs.createLogClient({ payload: { ...base, meta: 's'.repeat(20000) }, expectedStatus })
|
||||
})
|
||||
|
||||
it('Should succeed with the correct params', async function () {
|
||||
@ -145,7 +145,7 @@ describe('Test logs API validators', function () {
|
||||
it('Should rate limit log creation', async function () {
|
||||
let fail = false
|
||||
|
||||
for (let i = 0; i < 10; i++) {
|
||||
for (let i = 0; i < 100; i++) {
|
||||
try {
|
||||
await server.logs.createLogClient({ token: null, payload: base })
|
||||
} catch {
|
||||
|
Loading…
Reference in New Issue
Block a user