Skip to content

Commit 242a151

Browse files
committed
Attempt to fix flaky async test
1 parent 265535e commit 242a151

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/net/jodah/failsafe/issues/Issue242Test.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010

1111
@Test
1212
public class Issue242Test {
13-
public void test() throws Throwable {
13+
public void shouldDelayOnExplicitRetry() throws Throwable {
1414
RetryPolicy<String> retryPolicy = new RetryPolicy<String>().handleResult(null)
15-
.withDelay(Duration.ofMillis(100))
15+
.withDelay(Duration.ofMillis(110))
1616
.withMaxAttempts(3);
1717

1818
long startTime = System.currentTimeMillis();

0 commit comments

Comments
 (0)