Fix check logs params tests

pull/6527/head
Chocobozzz 2024-07-02 13:16:30 +02:00
parent 532d8d4a39
commit 0870a3fe51
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 2 deletions

View File

@ -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 {