Skip to content

Commit

Permalink
Test [will be reverted]
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosGamero committed May 23, 2024
1 parent edf12c0 commit 3ba05da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ describe('SqsPermissionConsumer - deadLetterQueue', () => {
// delay is 2s, but consumer can take a bit longer to pick up the message
const secondsSecondRetry = (messageArrivalTime[2] - messageArrivalTime[1]) / 1000
expect(secondsSecondRetry >= 2 && secondsFirstRetry < 3.5).toBe(true)
}, 6000) // 6s - testing exponential retry delay
}, 10000) // 6s - testing exponential retry delay

it('messages with deserialization errors should go to DLQ', async () => {
consumer = new SqsPermissionConsumer(diContainer.cradle, {
Expand Down

0 comments on commit 3ba05da

Please sign in to comment.