fix(cassandra,mysql,kafka): Use wait strategy instead of deprecated wait_for_logs by CarliJoy · Pull Request #945 · testcontainers/testcontainers-python · GitHub
Skip to content

fix(cassandra,mysql,kafka): Use wait strategy instead of deprecated wait_for_logs#945

Merged
alexanderankin merged 6 commits into
testcontainers:mainfrom
CarliJoy:use_wait_strategies
Jan 7, 2026
Merged

fix(cassandra,mysql,kafka): Use wait strategy instead of deprecated wait_for_logs#945
alexanderankin merged 6 commits into
testcontainers:mainfrom
CarliJoy:use_wait_strategies

Conversation

@CarliJoy

@CarliJoy CarliJoy commented Jan 4, 2026

Copy link
Copy Markdown
Contributor

Use new wait strategies instead of deprecated wait_for_logs.

Important for project having pytest configured to fail on warnings.

Just adopted the containers I am personally using while keeping as much of the logic as before.

@CarliJoy CarliJoy changed the title fix(cassandra,mysqk,kafka) Use wait strategy instead of deprecated wait_for_logs fix(cassandra,mysqk,kafka): Use wait strategy instead of deprecated wait_for_logs Jan 4, 2026
@codecov

codecov Bot commented Jan 4, 2026

Copy link
Copy Markdown

@CarliJoy

CarliJoy commented Jan 4, 2026

Copy link
Copy Markdown
Contributor Author

The failures in the CI are related to the not updated poetry lock file. See #845

I wasn't able to update the lock file.

@CarliJoy CarliJoy force-pushed the use_wait_strategies branch from 6b0023d to 2c288b9 Compare January 4, 2026 14:59
@CarliJoy CarliJoy force-pushed the use_wait_strategies branch 2 times, most recently from bc48f76 to 1569d6e Compare January 4, 2026 16:28
@alexanderankin

Copy link
Copy Markdown
Member

i can merge this for now and we can fix cassandra in a followup

@CarliJoy

CarliJoy commented Jan 4, 2026

Copy link
Copy Markdown
Contributor Author

@alexanderankin I finally fixed it, no need for later fix ;-)
Merge would be nice.

Sorry was busy with family therefore I was not consequentially working on this.l

@CarliJoy CarliJoy force-pushed the use_wait_strategies branch from 7193a68 to bd618cc Compare January 4, 2026 18:18
@CarliJoy

CarliJoy commented Jan 4, 2026

Copy link
Copy Markdown
Contributor Author

(last force push with corrected commits)

@alexanderankin alexanderankin merged commit b7791b9 into testcontainers:main Jan 7, 2026
18 checks passed
@alexanderankin

Copy link
Copy Markdown
Member

@CarliJoy CarliJoy deleted the use_wait_strategies branch January 7, 2026 22:00
@CarliJoy CarliJoy changed the title fix(cassandra,mysqk,kafka): Use wait strategy instead of deprecated wait_for_logs fix(cassandra,mysql,kafka): Use wait strategy instead of deprecated wait_for_logs Jan 7, 2026
alexanderankin pushed a commit that referenced this pull request Jan 7, 2026
🤖 I have created a release *beep* *boop*
---


##
[4.14.0](testcontainers-v4.13.3...testcontainers-v4.14.0)
(2026-01-07)


### Features

* Add ExecWaitStrategy and migrate Postgres from deprecated decorator
([#935](#935))
([2d9eee3](2d9eee3))


### Bug Fixes

* add ruff to deps
([#919](#919))
([5853d32](5853d32))
* **cassandra,mysqk,kafka:** Use wait strategy instead of deprecated
wait_for_logs
([#945](#945))
([b7791b9](b7791b9))
* **core:** recreate poetry lockfile with latest versions of libraries
([#946](#946))
([9a97385](9a97385))
* **elasticsearch:** Use wait strategy instead of deprecated decorator
([#915](#915))
([c785ecd](c785ecd))
* **minio:** minio client requires kwargs now
([#933](#933))
([37f5902](37f5902))
* **minio:** Use wait strategy instead of deprecated decorator
([#899](#899))
([febccb7](febccb7))

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