From: <rm...@hy...> - 2008-11-14 01:03:18
|
Author: rmorgan Date: 2008-11-13 17:03:10 -0800 (Thu, 13 Nov 2008) New Revision: 260 URL: http://svn.hyperic.org/?view=rev&root=HQApi&revision=260 Modified: trunk/src/org/hyperic/hq/hqapi1/test/HQApiTestBase.java trunk/src/org/hyperic/hq/hqapi1/test/Metric_test.java Log: Remove excessive logging. Modified: trunk/src/org/hyperic/hq/hqapi1/test/HQApiTestBase.java =================================================================== --- trunk/src/org/hyperic/hq/hqapi1/test/HQApiTestBase.java 2008-11-14 00:50:42 UTC (rev 259) +++ trunk/src/org/hyperic/hq/hqapi1/test/HQApiTestBase.java 2008-11-14 01:03:10 UTC (rev 260) @@ -106,8 +106,6 @@ } if (agent != null) { - _log.info("Found agent at " + agent.getAddress() + ":" + - agent.getPort()); PingAgentResponse pingResponse = api.pingAgent(agent); if (pingResponse.getStatus().equals(ResponseStatus.SUCCESS)) { if (pingResponse.isUp()) { Modified: trunk/src/org/hyperic/hq/hqapi1/test/Metric_test.java =================================================================== --- trunk/src/org/hyperic/hq/hqapi1/test/Metric_test.java 2008-11-14 00:50:42 UTC (rev 259) +++ trunk/src/org/hyperic/hq/hqapi1/test/Metric_test.java 2008-11-14 01:03:10 UTC (rev 260) @@ -21,8 +21,6 @@ ListMetricResponse resp = api.listMetrics(r); hqAssertSuccess(resp); - getLog().info("Found " + resp.getMetric().size() + " metrics for " + - r.getName()); for (Metric m : resp.getMetric()) { validateMetric(m); } @@ -40,8 +38,6 @@ ListMetricResponse resp = api.listMetrics(r); hqAssertSuccess(resp); - getLog().info("Found " + resp.getMetric().size() + " metrics for " + - r.getName()); for (Metric m : resp.getMetric()) { GetMetricResponse metricResponse = api.getMetric(m.getId()); @@ -61,9 +57,6 @@ ListMetricResponse resp = api.listMetrics(r); hqAssertSuccess(resp); - getLog().info("Found " + resp.getMetric().size() + " metrics for " + - r.getName()); - // Disable all for (Metric m : resp.getMetric()) { DisableMetricResponse disableMetricResponse = api.disableMetric(m); @@ -105,9 +98,6 @@ ListMetricResponse resp = api.listMetrics(r); hqAssertSuccess(resp); - getLog().info("Found " + resp.getMetric().size() + " metrics for " + - r.getName()); - final long INTERVAL = 60000; // Set new interval for (Metric m : resp.getMetric()) { |