From 5e9015a00a3057e299bec30ebb07c9d9761930ed Mon Sep 17 00:00:00 2001 From: roggervalf Date: Sat, 25 Jan 2025 13:11:26 -0600 Subject: [PATCH] test: try to fix flaky test --- tests/test_bulk.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/test_bulk.ts b/tests/test_bulk.ts index a22b47f733..71dd4e0e2e 100644 --- a/tests/test_bulk.ts +++ b/tests/test_bulk.ts @@ -127,14 +127,14 @@ describe('bulk jobs', () => { const worker = new Worker( queueName, async () => { - await delay(900); + await delay(800); }, { connection, prefix }, ); const worker2 = new Worker( queueName, async () => { - await delay(900); + await delay(800); }, { connection, prefix }, ); @@ -145,7 +145,6 @@ describe('bulk jobs', () => { const completed = new Promise(resolve => { queueEvents.on('completed', () => { counter++; - console.log('counter', counter); if (counter === numJobs) { resolve(); }