Skip to content

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

3 participants