HDFS-12324. Ozone: TestQueryNode#testStaleNodesCount is failing. Contributed by Xiaoyu Yao.

This commit is contained in:
Xiaoyu Yao 2017-08-23 13:51:17 -07:00 committed by Owen O'Malley
parent 02f8c2224f
commit f51189e2bb

View File

@ -116,9 +116,5 @@ public void testStaleNodesCount() throws Exception {
nodeCount = scmClient.queryNode(EnumSet.of(DEAD), nodeCount = scmClient.queryNode(EnumSet.of(DEAD),
OzoneProtos.QueryScope.CLUSTER, "").getNodesCount(); OzoneProtos.QueryScope.CLUSTER, "").getNodesCount();
assertEquals("Mismatch of expected nodes count", 2, nodeCount); assertEquals("Mismatch of expected nodes count", 2, nodeCount);
cluster.restartDataNode(0);
cluster.restartDataNode(1);
} }
} }