I’m trying to run an integration test in Spring, using Localstack to run an SQS queue. These tests run fine when I send messages to the queue, but my inbound test is failing. Note that everything works fine locally!
What I’m seeing is that Spring can connect to a queue (at least, there’s no error), but never receives a message placed on the queue. Because of the way CircleCI runs, I have to do some slight of hand and run 2 instances of Localstack (one that Spring fires up, and one from config.yml), which I assume is causing this issue, but I don’t know how two both can have the same queue.
Is there any reason that a Localstack docker image would not report an inbound message to a queue listener?