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(mongo): mongo start waiting forever for old mongo versions by fran-penedo · Pull Request #783 · testcontainers/testcontainers-python

Conversation

@fran-penedo

@fran-penedo fran-penedo commented Mar 11, 2025

Copy link
Copy Markdown
Contributor

Old versions of Mongo, like 3.6, log the message "waiting for connections [...]", with a lowercase 'w', while newer versions log the message with uppercase 'W'. This commit makes the log search when starting the container case insensitive.

Sorry, something went wrong.

Uh oh!

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

All reactions
@fran-penedo
fix: mongo start waiting forever for old mongo versions
a37ef48
Old versions of Mongo, like 3.6, log the message "waiting for connections [...]", with a lowercase 'w', while newer versions log the message with uppercase 'W'. This commit makes the log search when starting the container case insensitive.
@codecov

codecov Bot commented Apr 2, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@a0785d7). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #783   +/-   ##
=======================================
  Coverage        ?   85.32%           
=======================================
  Files           ?       12           
  Lines           ?      668           
  Branches        ?      105           
=======================================
  Hits            ?      570           
  Misses          ?       75           
  Partials        ?       23           

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

@Tranquility2 Tranquility2 changed the title fix: mongo start waiting forever for old mongo versions fix(mongo): mongo start waiting forever for old mongo versions Jun 27, 2025
@Tranquility2
Merge branch 'main' into patch-2
6d978f6
alexanderankin
alexanderankin approved these changes Oct 7, 2025
View reviewed changes
@alexanderankin
alexanderankin merged commit 1388612 into testcontainers:main Oct 7, 2025
@github-actions github-actions Bot mentioned this pull request Oct 7, 2025
chore(main): release testcontainers 4.13.2 #891
Merged
alexanderankin pushed a commit that referenced this pull request Oct 7, 2025
@github-actions
chore(main): release testcontainers 4.13.2 (#891)
5c1504c
🤖 I have created a release *beep* *boop*
---


##
[4.13.2](testcontainers-v4.13.1...testcontainers-v4.13.2)
(2025-10-07)


### Bug Fixes

* **core:** Fix issues with doctests
([#893](#893))
([2e4d80a](2e4d80a))
* **core:** waiting improvements + remove decorators in core
([#894](#894))
([f93f379](f93f379))
* issue
[#889](#889)
by changing the annotated return type of `waiting_for` to `Self`.
([#890](#890))
([fe941b1](fe941b1))
* **mongo:** mongo start waiting forever for old mongo versions
([#783](#783))
([1388612](1388612))
* **redpanda:** copy the startup script to a path that can be written …
([#867](#867))
([e6b976d](e6b976d))
* **trino:** Remove deprecated class and decorator from Trino container
([#895](#895))
([bb646e9](bb646e9))

---
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>
@fran-penedo
fran-penedo deleted the patch-2 branch October 9, 2025 10:12
@potiuk potiuk mentioned this pull request May 17, 2026
providers/mongo: ping mongod before yielding from mongodb_container fixture apache/airflow#67066
Merged
1 task done
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.

3 participants

@fran-penedo @alexanderankin @Tranquility2
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.