You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
-test
tag docker image to replicate use in distributed system CI systemsThe text was updated successfully, but these errors were encountered: