fix: Allow passing in a custom wait strategy string in MySQL, Cassandra, Kafka and Trino by SubhadityaMukherjee · Pull Request #953 · testcontainers/testcontainers-python · GitHub
Skip to content

fix: Allow passing in a custom wait strategy string in MySQL, Cassandra, Kafka and Trino#953

Merged
alexanderankin merged 2 commits into
testcontainers:mainfrom
SubhadityaMukherjee:main
Jan 19, 2026
Merged

fix: Allow passing in a custom wait strategy string in MySQL, Cassandra, Kafka and Trino#953
alexanderankin merged 2 commits into
testcontainers:mainfrom
SubhadityaMukherjee:main

Conversation

@SubhadityaMukherjee

Copy link
Copy Markdown
Contributor

Hey,

Just a small change in adding the ability to pass in a custom wait strategy message for MySQL. The current implementation had '.: ready for connections.: ready for connections.*' as a default regex with no option to change it. This PR moves it into a parameter.
No new functionality has been added so I presume the tests can stay the same.

If you find this useful, I can also go over the other implementations and make a similar change wherever this is a problem.

@SubhadityaMukherjee

Copy link
Copy Markdown
Contributor Author

@SubhadityaMukherjee SubhadityaMukherjee changed the title Allow passing in a custom wait strategy string in MySQL Allow passing in a custom wait strategy string in MySQL, Cassandra, Kafka and Trino Jan 19, 2026
@alexanderankin alexanderankin changed the title Allow passing in a custom wait strategy string in MySQL, Cassandra, Kafka and Trino feat: Allow passing in a custom wait strategy string in MySQL, Cassandra, Kafka and Trino Jan 19, 2026
@codecov

codecov Bot commented Jan 19, 2026

Copy link
Copy Markdown

@alexanderankin alexanderankin changed the title feat: Allow passing in a custom wait strategy string in MySQL, Cassandra, Kafka and Trino fix: Allow passing in a custom wait strategy string in MySQL, Cassandra, Kafka and Trino Jan 19, 2026
@alexanderankin alexanderankin merged commit be4d09e into testcontainers:main Jan 19, 2026
20 of 23 checks passed
alexanderankin pushed a commit that referenced this pull request Jan 31, 2026
🤖 I have created a release *beep* *boop*
---


##
[4.14.1](testcontainers-v4.14.0...testcontainers-v4.14.1)
(2026-01-31)


### Bug Fixes

* Allow passing in a custom wait strategy string in MySQL, Cassandra,
Kafka and Trino
([#953](#953))
([be4d09e](be4d09e))
* **compose:** expose useful compose options
([#951](#951))
([183e1aa](183e1aa))
* **core:** bring back dind tests
([7337266](7337266))
* **core:** Use WaitStrategy internally for wait_for function
([#942](#942))
([e323317](e323317))
* **nats:** add support for jetstream
([#938](#938))
([49c9af8](49c9af8))
* Support Elasticsearch 9.x
([#881](#881))
([f690e88](f690e88)),
closes
[#860](#860)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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