public int getAppPriorityFailedRetrieved() {
    return numGetAppPriorityFailedRetrieved.value();
  }
@Test
  public void testGetAppPriorityRetrievedFailed() {
    long totalBadBefore = metrics.getAppPriorityFailedRetrieved();
    badSubCluster.getAppPriorityFailed();
    Assert.assertEquals(totalBadBefore + 1,
        metrics.getAppPriorityFailedRetrieved());
  }