FAQ
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.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
groupscm-users @
categorieshadoop
postedJan 31, '14 at 5:25p
activeFeb 1, '14 at 5:05a
posts2
users2
websitecloudera.com
irc#hadoop

People

Translate

site design / logo © 2022 Grokbase