public boolean retried() {
    return retried.get();
  }
@Test
  public void testNoMetrics() {
    RetryDetector detector = new RetryDetector();
    assertThat(detector.retried()).as("Should default to false").isFalse();
  }