File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ export function receiveDlqMessages(dlq) {
5050 const command = new ReceiveMessageCommand ( {
5151 QueueUrl : queueUrl ,
5252 MaxNumberOfMessages : 10 ,
53- VisibilityTimeout : 1 ,
53+ VisibilityTimeout : 0 ,
5454 WaitTimeSeconds : 0
5555 } )
5656 return sqsClient . send ( command )
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ describe('event', () => {
6969 await receiveDlqMessages ( 'form-submissions' )
7070 expect ( snsMock ) . toHaveReceivedCommandWith ( ReceiveMessageCommand , {
7171 QueueUrl : expect . any ( String ) ,
72- VisibilityTimeout : 1 ,
72+ VisibilityTimeout : 0 ,
7373 WaitTimeSeconds : 0
7474 } )
7575 } )
@@ -83,7 +83,7 @@ describe('event', () => {
8383 await receiveDlqMessages ( 'save-and-exit' )
8484 expect ( snsMock ) . toHaveReceivedCommandWith ( ReceiveMessageCommand , {
8585 QueueUrl : expect . any ( String ) ,
86- VisibilityTimeout : 1 ,
86+ VisibilityTimeout : 0 ,
8787 WaitTimeSeconds : 0
8888 } )
8989 } )
You can’t perform that action at this time.
0 commit comments