Skip to content

Commit

Permalink
fix: try to reduce job processing duration in a test
Browse files Browse the repository at this point in the history
  • Loading branch information
martinslota committed Aug 15, 2024
1 parent f8f140b commit 75cd633
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_queue.js
Original file line number Diff line number Diff line change
Expand Up @@ -1896,7 +1896,7 @@ describe('Queue', () => {
queue2.process(job => {
processedCount++;
expect(job.data.foo).to.be.equal('bar');
return delay(1500);
return delay(400);
});

queue2.on('completed', () => {
Expand Down

0 comments on commit 75cd633

Please sign in to comment.