Allow adding container dependencies for Async minion container from ensemble #17
Labels
component/runtime
Runtime behavior of test container
component/settings
Relates to API/settings availables
kind/enhancement
Enhancement of existing feature
Milestone
Reason/Context
When using the Async mocking feature, the Async minion container must connect to an external broker. If this broker is within another Testcontainer, it may not be started and ready when Async minion tries connecting. Most of the time, this is not a problem as the scheduling will try to reconnect a few seconds later.
However, in some situations - like Kafka, for example - we may face DNS resolution/caching strategies that prevent resolving the host if not present at first resolution.
Description
We need a way to configure dependencies on startup.
Implementation ideas
We need a
withAsyncDependsOn()
method at the ensemble level to do the trick.The text was updated successfully, but these errors were encountered: