Hello,
So we created a project that uses the cloudera manager Java API to automate
our cluster deployments. Thought of throwing this out there to get some
thoughts on how to unit test the project.
A couple of ideas I had were:
1. Create a mock service and mock all the rest endpoints on the service
that are getting called. This seems feasible but too tedious and unit tests
have low confidence.
2. Use up a vagrant image with pre-deployed cloudera manager that the unit
tests can hit. This seems like an OK approach but very slow and prone to
flakiness.
If I haven't missed it, there is not a similar testing utility like
HBaseTestingUtility to spin up a local instance for testing correct? Any
other ideas on this would be highly appreciated.
Thanks,
Swarnim
To unsubscribe from this group and stop receiving emails from it, send an email to scm-users+unsubscribe@cloudera.org.