@Test public void testFlaky(){ if (n++ == 0) { fail("deliberately flaky test (should pass the next time)"); } }