Repository: incubator-eagle
Updated Branches:
  refs/heads/master 3025e5d72 -> b12abb38d


[MINOR] Fix HadoopMetricMonitorAppProviderTest for modifying app type

Fix HadoopMetricMonitorAppProviderTest bug for modifying app type included by 
#731 (EAGLE-836)

Author: Hao Chen <h...@apache.org>

Closes #734 from haoch/FixHadoopMetricMonitorAppBug.


Project: http://git-wip-us.apache.org/repos/asf/incubator-eagle/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-eagle/commit/b12abb38
Tree: http://git-wip-us.apache.org/repos/asf/incubator-eagle/tree/b12abb38
Diff: http://git-wip-us.apache.org/repos/asf/incubator-eagle/diff/b12abb38

Branch: refs/heads/master
Commit: b12abb38d973d470f9bebdaba8e7b76b7dee5326
Parents: 3025e5d
Author: Hao Chen <h...@apache.org>
Authored: Mon Dec 12 20:25:02 2016 +0800
Committer: Hao Chen <h...@apache.org>
Committed: Mon Dec 12 20:25:02 2016 +0800

----------------------------------------------------------------------
 .../apache/eagle/metric/HadoopMetricMonitorAppProviderTest.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/b12abb38/eagle-hadoop-metric/src/test/java/org/apache/eagle/metric/HadoopMetricMonitorAppProviderTest.java
----------------------------------------------------------------------
diff --git 
a/eagle-hadoop-metric/src/test/java/org/apache/eagle/metric/HadoopMetricMonitorAppProviderTest.java
 
b/eagle-hadoop-metric/src/test/java/org/apache/eagle/metric/HadoopMetricMonitorAppProviderTest.java
index eb343d9..908ce2d 100644
--- 
a/eagle-hadoop-metric/src/test/java/org/apache/eagle/metric/HadoopMetricMonitorAppProviderTest.java
+++ 
b/eagle-hadoop-metric/src/test/java/org/apache/eagle/metric/HadoopMetricMonitorAppProviderTest.java
@@ -49,11 +49,11 @@ public class HadoopMetricMonitorAppProviderTest extends 
ApplicationTestBase {
         SiteEntity siteEntity = new SiteEntity();
         siteEntity.setSiteId("test_site");
         siteEntity.setSiteName("Test Site");
-        siteEntity.setDescription("Test Site for HADOOP_JMX_METRIC_MONITOR");
+        siteEntity.setDescription("Test Site for HADOOP_METRIC_MONITOR");
         siteResource.createSite(siteEntity);
         Assert.assertNotNull(siteEntity.getUuid());
 
-        ApplicationOperations.InstallOperation installOperation = new 
ApplicationOperations.InstallOperation("test_site", 
"HADOOP_JMX_METRIC_MONITOR", ApplicationEntity.Mode.LOCAL);
+        ApplicationOperations.InstallOperation installOperation = new 
ApplicationOperations.InstallOperation("test_site", "HADOOP_METRIC_MONITOR", 
ApplicationEntity.Mode.LOCAL);
         installOperation.setConfiguration(getConf());
         // Install application
         ApplicationEntity applicationEntity = 
applicationResource.installApplication(installOperation).getData();

Reply via email to