45f336c3b74e3132cd396189fcde32a9539f48ca
Root access is needed to be able to shrink MongoDB clusters that have role-based access control enabled. Without it, shrink isn't possible. Following the approach implemented for Vertica, add an extension for MongoDB root management. Also include an optional guard against running root-enable against individual cluster instances. Change-Id: I1a3b221ecf575b0389e871fb246d5cd633abc56f Closes-bug: #1554659
Trove
Trove is Database as a Service for OpenStack.
Usage for integration testing
If you'd like to start up a fake Trove API daemon for integration testing with your own tool, run:
Stop the server with:
Tests
To run all tests and PEP8, run tox, like so:
To run just the tests for Python 2.7, run:
To run just PEP8, run:
To generate a coverage report,run:
(note: on some boxes, the results may not be accurate unless you run it twice)
If you want to run only the tests in one file you can use testtools e.g.
Languages
Python
95%
Shell
4.9%