-
Notifications
You must be signed in to change notification settings - Fork 23.7k
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
mongodb_replicaset module and test exception #49690
Conversation
This comment has been minimized.
This comment has been minimized.
Please add integration tests for this module. Look at test/integration/targets/ and more specifically check what is being done for postgresql and mysql to see how they set up a database, and then use it for testing. We currently have no mongodb integration tests, and we have to fix that for all modules. |
This comment has been minimized.
This comment has been minimized.
@dagwieers Good to go here? PR for testing should be ready soon. |
This comment has been minimized.
This comment has been minimized.
Caught a bug in this module for MongoDB 4.0 found thanks to integration tests. Integration tests are working for MongoDB versions 3.2, 3.4, 3.6 and 4.0. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given that this has been tested, and we are expecting integration tests as well. I am going to approve this PR.
Great stuff. Thanks for your efforts in getting this merged. |
Hi @rhysmeister At line 336 should Should this actually be: I can raise a PR if you agree? |
@netjordan Yes. Good catch. I'll ensure there's a test for this as well. |
SUMMARY
New module allowing the creation of mongodb replicasets. Based on existing mongodb modules.
Tidy up of previous PR: #43674
Includes changes requested by @maxamillion and @acozine
ISSUE TYPE
COMPONENT NAME
mongodb_replicaset
ADDITIONAL INFORMATION