assertTrue("DN3 should be up", DataNode.isDatanodeUp(dns.get(2)));
/*
* The metrics should confirm the volume failures.
*/
DataNodeMetrics metrics1 = dns.get(0).getMetrics();
DataNodeMetrics metrics2 = dns.get(1).getMetrics();
DataNodeMetrics metrics3 = dns.get(2).getMetrics();
assertEquals("Vol1 should report 1 failure",
1, metrics1.volumeFailures.getCurrentIntervalValue());
assertEquals("Vol2 should report 1 failure",
1, metrics2.volumeFailures.getCurrentIntervalValue());
assertEquals("Vol3 should have no failures",