Skip to content

fix: ready condition in ClickHouse#441

Merged
DDtKey merged 1 commit intotestcontainers:mainfrom
edrevo:fix-clickhouse
Dec 22, 2025
Merged

fix: ready condition in ClickHouse#441
DDtKey merged 1 commit intotestcontainers:mainfrom
edrevo:fix-clickhouse

Conversation

@edrevo
Copy link
Contributor

@edrevo edrevo commented Dec 22, 2025

The ClickHouse dockerfile exposes several ports (8123, 9000, etc.). If no port is specified in the ready_conditions the first exposed one is chosen, which is non-deterministic. This means Clickhouse would fail to start (from the testcontainer's point of view).

This PR explicitly adds the good port to the ready_conditions to fix that.

@edrevo
Copy link
Contributor Author

edrevo commented Dec 22, 2025

@DDtKey , since you are already reviewing testcontainers/testcontainers-rs#896 if you could also take a look at this one I'd appreciate it very much since that would unblock my full integration test scenario.

@DDtKey DDtKey changed the title Fix ready condition in ClickHouse fix: ready condition in ClickHouse Dec 22, 2025
@edrevo
Copy link
Contributor Author

edrevo commented Dec 22, 2025

Thanks again for the super quick reviews! I took a look at the CI failures and except for the PR title check, the rest seem unrelated (they apply to other modules like Weaveate and other stuff).

@DDtKey DDtKey merged commit 331abcc into testcontainers:main Dec 22, 2025
7 of 12 checks passed
@edrevo edrevo deleted the fix-clickhouse branch December 22, 2025 22:43
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.

2 participants