Open
Description
openedon Aug 28, 2022
It's possible to check if the healthcheck passed trought the cli.
docker ps --format json
will list all the services running and their corresponding healthchecks.
Proposed method signature: compose.wait_for_healthcheck(sec: int = 10)
High level description how it should work:
Iterate trough services check if healthcheck is healthy.
If not: wait and repeat until timeout.
testcontaners java and node has the option to wait for healthcheck. It would be nice if testcontainers-python would have the same funtionality
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment