YARN-27. Fixed location of ms.start call

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1375083 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Thomas Graves 2012-08-20 16:04:03 +00:00
parent bc538e100a
commit ea7af8f76e
1 changed files with 1 additions and 1 deletions

View File

@ -238,11 +238,11 @@ public class TestQueueMetrics {
@Test
public void testMetricsCache() {
MetricsSystem ms = new MetricsSystemImpl("cache");
ms.start();
try {
String p1 = "root1";
String leafQueueName = "root1.leaf";
ms.start();
QueueMetrics p1Metrics =
QueueMetrics.forQueue(ms, p1, null, true, conf);