Skip to content

feat: Add wait_for_healthcheck to DockerContainer #818

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rhoban13
Copy link
Contributor

@rhoban13 rhoban13 commented Jun 1, 2025

Adding a new wait_for_healthcheck to DockerContainer. This is related to #241, though this provides the functionality on DockerContainer not DockerCompose.

This feature enables testcontainers to achieve a similar functionality with docker compose where a service can declare a depends_on: service_healthy.

@rhoban13 rhoban13 changed the title ✨ Add wait_for_healthcheck to DockerContainer ✨ feat: Add wait_for_healthcheck to DockerContainer Jun 1, 2025
@rhoban13 rhoban13 changed the title ✨ feat: Add wait_for_healthcheck to DockerContainer feat: Add wait_for_healthcheck to DockerContainer Jun 1, 2025
Copy link

codecov bot commented Jun 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@e7feb53). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #818   +/-   ##
=======================================
  Coverage        ?   85.69%           
=======================================
  Files           ?       12           
  Lines           ?      699           
  Branches        ?      112           
=======================================
  Hits            ?      599           
  Misses          ?       75           
  Partials        ?       25           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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

Successfully merging this pull request may close these issues.

1 participant