Open
Description
The Phoenix.Ecto.SQL.Sandbox
module is amazing for testing applications when you are utilizing the database. However, this kinda falls apart when you start integrating messaging systems like rabbitmq. It also requires sending a request to start the pool which can be hard to do in distributed system.
Things we can do
- Document and make the module easier to use.
- Possibly a
-test
tag docker image to replicate use in distributed system CI systems - Use similar logic for message bus. Sending and receiving rabbitmq messages should be done in the same db pid
- Investigate ability to not require sending a POST request to initiate the request. This will help in distributed systems
Metadata
Metadata
Assignees
Labels
No labels