From 0870a3fe51d88b69ad6bc7465903207f85d2e15f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 2 Jul 2024 13:16:30 +0200 Subject: [PATCH] Fix check logs params tests --- packages/tests/src/api/check-params/logs.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/tests/src/api/check-params/logs.ts b/packages/tests/src/api/check-params/logs.ts index 629530e30..e1cdbe61e 100644 --- a/packages/tests/src/api/check-params/logs.ts +++ b/packages/tests/src/api/check-params/logs.ts @@ -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 {