Skip to content

Commit

Permalink
remove random error throw in test
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrydigi committed Oct 29, 2023
1 parent 1d13f27 commit 1463de7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/features/utils/consumer/handleMessageBatch.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const consumer = Consumer.create({
try {
cnt += messages?.length || 1;

if (Math.random() > 0.98) throw new Error('handle message test error');
// if (Math.random() > 0.98) throw new Error('handle message test error');
const ms = 100 + 500 * Math.random();
await new Promise((resolve) =>
setTimeout(() => {
Expand Down

0 comments on commit 1463de7

Please sign in to comment.