Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for MongoDB 4.4 #3083

Merged
merged 1 commit into from
Oct 1, 2020
Merged

Add support for MongoDB 4.4 #3083

merged 1 commit into from
Oct 1, 2020

Conversation

kiview
Copy link
Member

@kiview kiview commented Aug 7, 2020

Makes LogMessageWaitStrategy in MongoDBContainer compatible with MongoDB 4.4 images without breaking backwards compatibility (regex changed to (?i).*waiting for connections.*).

It is a bit unfortunate that this uses a full integration test for checking something trivial (working regex), so maybe there is a better approach using a mock/stub? Do we have other tests where we solve this on a unit test level?

Fixes #3077

Make LogMessageWaitStrategy in MongoDBContainer compatible
Fixes #3077
@rnorth rnorth merged commit 2cd32fd into master Oct 1, 2020
@rnorth rnorth deleted the fix-mongo4.4 branch October 1, 2020 08:53
@rnorth rnorth added this to the next milestone Oct 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MongoDBContainer fails to start when using tag 4.4
2 participants