Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id EFB7C200BDB for ; Mon, 12 Dec 2016 13:27:18 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id EE71F160B0D; Mon, 12 Dec 2016 12:27:18 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 421C8160B22 for ; Mon, 12 Dec 2016 13:27:18 +0100 (CET) Received: (qmail 51667 invoked by uid 500); 12 Dec 2016 12:27:17 -0000 Mailing-List: contact commits-help@eagle.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@eagle.incubator.apache.org Delivered-To: mailing list commits@eagle.incubator.apache.org Received: (qmail 51657 invoked by uid 99); 12 Dec 2016 12:27:17 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2016 12:27:17 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id B7C521803A4 for ; Mon, 12 Dec 2016 12:27:16 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -6.219 X-Spam-Level: X-Spam-Status: No, score=-6.219 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id NUEVFmekicvv for ; Mon, 12 Dec 2016 12:27:16 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id 4BBDA5FDB2 for ; Mon, 12 Dec 2016 12:27:05 +0000 (UTC) Received: (qmail 49093 invoked by uid 99); 12 Dec 2016 12:25:09 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2016 12:25:09 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id CBBAAE38C2; Mon, 12 Dec 2016 12:25:09 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: hao@apache.org To: commits@eagle.incubator.apache.org Message-Id: <11685e72b5ed4fec88b9d90145d49c07@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: incubator-eagle git commit: [MINOR] Fix HadoopMetricMonitorAppProviderTest for modifying app type Date: Mon, 12 Dec 2016 12:25:09 +0000 (UTC) archived-at: Mon, 12 Dec 2016 12:27:19 -0000 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 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 Authored: Mon Dec 12 20:25:02 2016 +0800 Committer: Hao Chen 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();