-
-
Notifications
You must be signed in to change notification settings - Fork 451
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
Test a simple replicaset setup #729
Conversation
The tests are inspired by the existing replicaset tests, but configure every node in a single run. The simulate the use of PuppetDB by expanding the replicaset.
Not sure how to get the test to actually run... |
If you look at https://github.com/voxpupuli/puppet-mongodb/blob/master/spec/acceptance/replset_spec.rb#L8 the if test ensure that the test have to be run in an environment ( beaker controlled ) with more than one host.
I suspect the entire file has been used with a beaker hosts file at some time. I think we need to figure out how to create such a beaker set file to at least be able to run these tests locally. |
I get the |
There is some tutorials here https://github.com/voxpupuli/beaker that may get you started on beaker :) |
Started looking at nodeset definitions. See #743 |
@stevenpost With #743 acceptance/replset_spec.rb and acceptance/sharding_spec.rb is run with github actions. |
Closing, see #729 (comment) |
This PR add an additional set of server-spec tests.
Like the ones for replica, but they test the simplest replica setup using just the
mongodb::globals
,mongodb::server
andmongodb::client
classes. These simulate the use of PuppetDB by fully setting up the first node, then expanding the set with the new member.Tests are performed with and without authentication enabled.