Skip to content

Commit ba99eb8

Browse files
authored
Merge pull request #66 from AutomateThePlanet/wait-retry-overload-fix
Fixed wait.Retry overload
2 parents e225022 + 2842073 commit ba99eb8

File tree

1 file changed

+1
-1
lines changed
  • bellatrix.core/src/main/java/solutions/bellatrix/core/utilities

1 file changed

+1
-1
lines changed

bellatrix.core/src/main/java/solutions/bellatrix/core/utilities/Wait.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public static void retry(Runnable action, int timesToRetry, long sleepInterval,
2525
int repeat = 0;
2626
while(repeat <= timesToRetry) {
2727
repeat ++;
28-
if (retry(action, Duration.ofMillis(50), Duration.ofSeconds(sleepInterval), shouldThrowException, exceptionsToIgnore)) {
28+
if (retry(action, Duration.ofSeconds(sleepInterval), Duration.ofSeconds(sleepInterval), shouldThrowException, exceptionsToIgnore)) {
2929
break;
3030
}
3131
}

0 commit comments

Comments
 (0)