testcontainers-python icon indicating copy to clipboard operation
testcontainers-python copied to clipboard

fix(mongo): mongo start waiting forever for old mongo versions

Open fran-penedo opened this issue 9 months ago • 1 comments

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.

fran-penedo avatar Mar 11 '25 12:03 fran-penedo

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

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           

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov[bot] avatar Apr 02 '25 16:04 codecov[bot]