[Improvement]: Use testcontainers to spawn postgres docker containers in integration tests #1479
Closed
1 task done
Labels
S-Blocked
Implementing this is currently blocked by other issues and/or upstream dependencies
S-Triage
Awaiting decision for what to do
T-Improvement
Improvement or addition to existing features
Describe the improvement
A few of our services (logger, provisioner & soon auth) integration tests are using a postgres instance in a docker container, communicating with it to exercise their business logic in the context of integration tests. We'd like to not maintain test logic that sets up a postgres Docker container, but use instead testcontainers [1].
Definition of done:
[1] https://docs.rs/testcontainers/latest/testcontainers/#:~:text=The%20testcontainers%20ecosystem%20facilitates%20self,actual%20database%20to%20be%20present.
Duplicate declaration
The text was updated successfully, but these errors were encountered: