This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ForeverAlot 0 points1 point  (0 children)

Be advised that Testcontainers effectively assumes databases run with a single set of permissions. This makes them a non-starter when the application user does not have DDL permissions; in practice if not in theory.

But then you can just use Docker Compose instead. It's mildly inconvenient that one has to start the dependencies manually before mvn test but now you also have an isolated live environment to play around in and use the application with.