Skip to content

Docker compose taking up a lot of resources #272

Answered by cristianrgreco
breauxna asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @breauxna, thanks for the feedback!

In an ideal world you could spin up a single docker-compose environment for your entire test suite. Whether that's feasible depends on your use case, for example is the service stateful? Can the state be cleared between tests? Do the boundaries make sense? Etc.

Obviously running enough docker containers or any intensive task in parallel will eventually exhaust system resource. If it cannot be optimised then I'd suggest running the test suites in band as you suggest. That way at least resource is less of an issue, and you could for example split the suites across multiple machines to once again run them in parallel.

I would say though that this is les…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cristianrgreco
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