Skip to content

Commit

Permalink
Attempt to fix flaky async test
Browse files Browse the repository at this point in the history
  • Loading branch information
jhalterman committed Apr 30, 2020
1 parent 265535e commit 242a151
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/net/jodah/failsafe/issues/Issue242Test.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

@Test
public class Issue242Test {
public void test() throws Throwable {
public void shouldDelayOnExplicitRetry() throws Throwable {
RetryPolicy<String> retryPolicy = new RetryPolicy<String>().handleResult(null)
.withDelay(Duration.ofMillis(100))
.withDelay(Duration.ofMillis(110))
.withMaxAttempts(3);

long startTime = System.currentTimeMillis();
Expand Down

0 comments on commit 242a151

Please sign in to comment.