HDFS-12324. Ozone: TestQueryNode#testStaleNodesCount is failing. Contributed by Xiaoyu Yao.
This commit is contained in:
parent
02f8c2224f
commit
f51189e2bb
@ -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);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user