Skip to content

feat: Add wait_for_healthcheck to DockerContainer - #818

Closed
rhoban13 wants to merge 2 commits into
testcontainers:mainfrom
rhoban13:wait_for_healthcheck
Closed

feat: Add wait_for_healthcheck to DockerContainer#818
rhoban13 wants to merge 2 commits into
testcontainers:mainfrom
rhoban13:wait_for_healthcheck

Conversation

@rhoban13

Copy link
Copy Markdown
Contributor

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.

@rhoban13rhoban13 changed the title ✨ Add wait_for_healthcheck to DockerContainer✨ feat: Add wait_for_healthcheck to DockerContainerJun 1, 2025
@rhoban13rhoban13 changed the title ✨ feat: Add wait_for_healthcheck to DockerContainerfeat: Add wait_for_healthcheck to DockerContainerJun 1, 2025
@codecov

codecovBot commented Jun 1, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

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

Additional details and impacted files
@@ Coverage Diff @@## main #818 +/- ##
=======================================
Coverage ? 85.61% =======================================
Files ? 12 Lines ? 695 Branches ? 112 =======================================
Hits ? 595 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.

@rhoban13

Copy link
Copy Markdown
ContributorAuthor

Superceded by #838

Sign up for freeto 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

@rhoban13