8d754f552b
* Enable root user credential rotation in MongoDB This takes its logic from the SetCredentials function with some changes (ex: it's generating a password rather than taking one as a parameter). This will error if the username isn't specified in the config. Since Mongo defaults to unauthorized, this seemed like an easy check to make to prevent strange behaviors when it tries to rotate the "" user. |
||
---|---|---|
.. | ||
mongodb-database-plugin | ||
cert_helpers_test.go | ||
connection_producer.go | ||
connection_producer_test.go | ||
mongodb.go | ||
mongodb_test.go | ||
README.md | ||
util.go |
MongoDB Tests
The test TestInit_clientTLS
cannot be run within CircleCI in its current form. This is because it's not
possible to use volume mounting with the docker executor.
Because of this, the test is skipped. Running this locally shouldn't present any issues as long as you have docker set up to allow volume mounting from this directory:
go test -v -run Init_clientTLS
This may be able to be fixed if we mess with the entrypoint or the command arguments.