public int getUpdateNodeResourceFailedRetrieved() {
    return numUpdateNodeResourceFailedRetrieved.value();
  }
@Test
  public void testUpdateNodeResourceRetrievedFailed() {
    long totalBadBefore = metrics.getUpdateNodeResourceFailedRetrieved();
    badSubCluster.getUpdateNodeResourceFailed();
    Assert.assertEquals(totalBadBefore + 1, metrics.getUpdateNodeResourceFailedRetrieved());
  }