public int getDelegationTokenFailedRetrieved() {
    return numGetDelegationTokenFailedRetrieved.value();
  }
@Test
  public void testGetDelegationTokenRetrievedFailed() {
    long totalBadBefore = metrics.getDelegationTokenFailedRetrieved();
    badSubCluster.getDelegationTokenFailed();
    Assert.assertEquals(totalBadBefore + 1,
        metrics.getDelegationTokenFailedRetrieved());
  }