@Test
public void testNoRetryPolicy() throws IOException, InterruptedException, TimeoutException {

  LogAssert vex =  TestLoggers.sys().dontExpect(PREDICATE_CLASS, Level.DEBUG, Matchers.any(TestLogRecord.class));
  try (LogAssert expect = vex) {
    RetryPolicy.noRetryPolicy().run(() -> {
      throw new IOException();
    }, IOException.class);
    Assert.fail();
  } catch (IOException ex) {
    // expected
    vex.assertObservation();
  }
}