Skip to content

How to limit the number of parallel containers #1017

Discussion options

You must be logged in to vote

This depends on the test framework you are using, they use different ways to configure it (there is nothing built-in in Testcontainers). If you need the same service again and again, it is recommended to create the container once (singleton) and share it across the tests. This will make your tests run faster and use fewer resources.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wilsonneto-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants