-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
aws:sqsAmazon Simple Queue ServiceAmazon Simple Queue Servicestatus: backlogTriaged but not yet being worked onTriaged but not yet being worked ontype: bugBug reportBug report
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
I've set visibility timeout to 2 seconds.
I'm handling a message and it takes 10 seconds.
Then, I'm trying to delete the message from the queue using the original receiptHandle.
Expected Behavior
I'm expecting it to throw ReceiptHandleIsInvalid, but instead it doesn't throw and seems like it's fine.
I've tested the behaviour against a real AWS SQS and it works as expected.
According to AWS, for standard queues, it might succeed, but for FIFO it should throw.
How are you starting LocalStack?
With a docker run command
Steps To Reproduce
- Create a FIFO queue.
- Set visibility timeout to 2 seconds.
- Process a message for 10 seconds.
- Try to delete the message after the processing has been completed.
- It should throw. It doesn't.
Environment
Anything else?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
aws:sqsAmazon Simple Queue ServiceAmazon Simple Queue Servicestatus: backlogTriaged but not yet being worked onTriaged but not yet being worked ontype: bugBug reportBug report