Skip to content

fix(clickhouse): add HttpWaitStrategy instead of deprecated wait_container_is_ready#962

Merged
alexanderankin merged 4 commits intotestcontainers:mainfrom
dzhalaevd:feat/clickhouse-wait-strategy
Apr 3, 2026
Merged

fix(clickhouse): add HttpWaitStrategy instead of deprecated wait_container_is_ready#962
alexanderankin merged 4 commits intotestcontainers:mainfrom
dzhalaevd:feat/clickhouse-wait-strategy

Conversation

@dzhalaevd
Copy link
Copy Markdown
Contributor

What was wrong?

Decorator wait_container_is_ready is deprecated and raise DeprecationWarning

Related issue: #874

How it was fixed?

Replace the deprecated wait_container_is_ready decorator with HttpWaitStrategy in the ClickHouseContainer

@dzhalaevd
Copy link
Copy Markdown
Contributor Author

@alexanderankin could you review my PR, please

@Tranquility2 Tranquility2 added 📦 package: clickhouse ✨ feat 👥 community feat feature but its a community module so we wont bump tc core for it labels Apr 3, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.81%. Comparing base (d48115d) to head (40238e1).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #962   +/-   ##
=======================================
  Coverage   79.81%   79.81%           
=======================================
  Files          15       15           
  Lines        1303     1303           
  Branches      162      162           
=======================================
  Hits         1040     1040           
  Misses        216      216           
  Partials       47       47           

☔ 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.

@Tranquility2 Tranquility2 changed the title feat(clickhouse): add HttpWaitStrategy instead of deprecated wait_container_is_ready fix(clickhouse): add HttpWaitStrategy instead of deprecated wait_container_is_ready Apr 3, 2026
@Tranquility2 Tranquility2 added 🔧 fix and removed ✨ feat 👥 community feat feature but its a community module so we wont bump tc core for it labels Apr 3, 2026
@alexanderankin alexanderankin merged commit 8034541 into testcontainers:main Apr 3, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants