Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: dependsOn functionality for DockerContainer #679

Open
mgorsk1 opened this issue Aug 13, 2024 · 1 comment
Open

Feature: dependsOn functionality for DockerContainer #679

mgorsk1 opened this issue Aug 13, 2024 · 1 comment

Comments

@mgorsk1
Copy link
Contributor

mgorsk1 commented Aug 13, 2024

What are you trying to do?

Improve TC-python feature parity with TC-java by enabling container to specify dependsOn, which should work similar to how depends_on in docker-compose does - container B that depends on container A won't be started until container A is in running state.

Why should it be done this way?

Control order/behavior for container startup in multi-container scenarios.

Other references:

Include any other relevant reading material about the enhancement.

@hari134
Copy link

hari134 commented Oct 26, 2024

I have implemented the depends_on functionality for DockerContainer, mirroring the dependsOn behavior in TC-java so that dependent containers only start once their dependencies are in the running state. The PR for this enhancement is now open: #728. Please check it out, and let me know if any changes are needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants