Skip to content

Commit

Permalink
Fix consuming-messages/test00012
Browse files Browse the repository at this point in the history
  • Loading branch information
weyoss committed Jul 13, 2022
1 parent e335d1c commit 4c9dfb8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/tests/consuming-messages/test00012.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ test('An unacknowledged message is delayed given messageRetryDelay > 0 and messa
}
const diff = timestamps[i] - timestamps[i - 1];
if (i === 1) {
expect(validateTime(diff, 15000)).toBe(true);
expect(validateTime(diff, 11000)).toBe(true);
} else if (i === 2) {
expect(validateTime(diff, 15000)).toBe(true);
expect(validateTime(diff, 11000)).toBe(true);
} else if (i === 3) {
expect(validateTime(diff, 15000)).toBe(true);
expect(validateTime(diff, 11000)).toBe(true);
} else {
expect(validateTime(diff, 15000)).toBe(true);
expect(validateTime(diff, 11000)).toBe(true);
}
}
});

0 comments on commit 4c9dfb8

Please sign in to comment.