Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions e2e/both.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ describe('Consumer/Producer', function() {

let messageCount = 5;
for (let i = 0; i < messageCount; i++) {
setTimeout(producer.produce(topic, null, buffer, null), 500 * i);
setTimeout(() => producer.produce(topic, null, buffer, null), 500 * i);
}

const start = Date.now();
Expand Down Expand Up @@ -589,7 +589,7 @@ describe('Consumer/Producer', function() {

let messageCount = 5;
for (let i = 0; i < messageCount; i++) {
setTimeout(producer.produce(topic, null, buffer, null), 500 * i);
setTimeout(() => producer.produce(topic, null, buffer, null), 500 * i);
}

const start = Date.now();
Expand Down