GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(cassandra,mysql,kafka): Use wait strategy instead of deprecated wait_for_logs by CarliJoy · Pull Request #945 · testcontainers/testcontainers-python

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.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Hugo-C reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@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 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.30%. Comparing base (9a97385) to head (bd618cc).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #945   +/-   ##
=======================================
  Coverage   78.30%   78.30%           
=======================================
  Files          14       14           
  Lines        1212     1212           
  Branches      141      141           
=======================================
  Hits          949      949           
  Misses        222      222           
  Partials       41       41           

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

CarliJoy added 4 commits January 4, 2026 15:53
@CarliJoy
fix(kafka): Use wait strategy instead of deprecated wait_for_logs
439fbc7
@CarliJoy
fix(mysql): Use wait strategy instead of deprecated wait_for_logs
9ebef26
@CarliJoy
fix(cassandra): Use wait strategy instead of deprecated wait_for_logs
0e85075
@CarliJoy
chore(core): fix linting
2c288b9
@CarliJoy
CarliJoy force-pushed the use_wait_strategies branch from 6b0023d to 2c288b9 Compare January 4, 2026 14:59
@CarliJoy
chore(cassandra): skip test in Python 3.14 while there is no availabl…
afd0356
…e driver
@CarliJoy
CarliJoy force-pushed the use_wait_strategies branch 2 times, most recently from bc48f76 to 1569d6e Compare January 4, 2026 16:28
@alexanderankin

alexanderankin commented Jan 4, 2026

Copy link
Copy Markdown
Member

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

alexanderankin
alexanderankin approved these changes Jan 4, 2026
View reviewed changes
@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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@CarliJoy
chore(cassandra): skip doctest in Python 3.14 while there is no avail…
bd618cc
…able driver
@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)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

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

alexanderankin commented Jan 7, 2026

Copy link
Copy Markdown
Member

while this is not conflicted....

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot mentioned this pull request Jan 7, 2026
chore(main): release testcontainers 4.14.0 #921
Merged
@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
@github-actions
chore(main): release testcontainers 4.14.0 (#921)
d7953b8
🤖 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>
@Hugo-C Hugo-C mentioned this pull request Feb 3, 2026
fix(kafka): Use wait strategy instead of deprecated wait_for_logs #903
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@alexanderankin alexanderankin alexanderankin approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@CarliJoy @alexanderankin
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.