Is there an existing issue for this?
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