Multiple Suites with Single Container #6929
Replies: 1 comment
-
|
I think this belongs to https://github.com/testcontainers/testcontainers-scala |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently I have a batch of Suites that inherit from
TestContainersForAllthrough a common custom trait. I want them all to use the same container but cannot seem to figure it out.Currently my issue is that things compile fine but each Suite only takes in
containerDefoverride as a parameter. This would seem to imply that they each spin up their own container, which is not what I want. Accordingly the containers have many errors likefailed to close the responseandLocal Docker Compose exited abnormally with code 1 whilst running command: --compatibility up -d.Wondering if there is something else I should use other than
TestContainersForAll. I am usingoverride def nestedSuitesto run the suites and passing in mycontainerDefas a parameter to each to override the one spun up in my custom trait that usesTestContainersForAll.Beta Was this translation helpful? Give feedback.
All reactions