Skip to content

Instantly share code, notes, and snippets.

View braghome's full-sized avatar
🎯
Focusing

Manav Brar braghome

🎯
Focusing
  • Carita Revolution
  • Dublin, Ca
View GitHub Profile
public class RetrierTest {
private static int count = 0;
@Rule public RetryRule rule = new RetryRule();
@Test
@Retry
public void failsFirst() throws Exception {
count++;
assertEquals(2, count);