Merge "Add Java type edp test in integration test of CDH plugin"

This commit is contained in:
Jenkins 2015-01-07 17:48:32 +00:00 committed by Gerrit Code Review
commit cd546b56d9
2 changed files with 19 additions and 0 deletions

View File

@ -152,3 +152,13 @@ The HDP plugin has the following checks:
4. Elastic Data Processing (EDP).
5. Swift availability.
6. Cluster scaling.
The CDH plugin has the following checks:
++++++++++++++++++++++++++++++++++++++++
1. Proper cluster creation.
2. Cinder support.
3. Map Reduce.
4. Elastic Data Processing (EDP).
5. Swift availability.
6. Cluster scaling.

View File

@ -243,6 +243,15 @@ class CDHGatingTest(cluster_configs.ClusterConfigTest,
# check hive
yield self.check_edp_hive()
# check Java
java_jar = self.edp_info.read_java_example_lib(2)
java_configs = self.edp_info.java_example_configs(2)
yield self.edp_testing(
utils_edp.JOB_TYPE_JAVA,
job_data_list=[],
lib_data_list=[{'jar': java_jar}],
configs=java_configs)
@b.errormsg("Failure while cluster scaling: ")
def _check_scaling(self):
change_list = [