Skip to content

Commit 94f37ff

Browse files
committed
test: try to fix flaky test
1 parent 69a2b37 commit 94f37ff

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/test_bulk.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -127,14 +127,14 @@ describe('bulk jobs', () => {
127127
const worker = new Worker(
128128
queueName,
129129
async () => {
130-
await delay(900);
130+
await delay(800);
131131
},
132132
{ connection, prefix },
133133
);
134134
const worker2 = new Worker(
135135
queueName,
136136
async () => {
137-
await delay(900);
137+
await delay(800);
138138
},
139139
{ connection, prefix },
140140
);
@@ -145,7 +145,6 @@ describe('bulk jobs', () => {
145145
const completed = new Promise<void>(resolve => {
146146
queueEvents.on('completed', () => {
147147
counter++;
148-
console.log('counter', counter);
149148
if (counter === numJobs) {
150149
resolve();
151150
}

0 commit comments

Comments
 (0)