Skip to content

Commit 2bf1177

Browse files
author
Veronika Lisovskaya
committed
Add small fix for RetryRunner
DEVSIX-1972
1 parent 02eeef3 commit 2bf1177

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pdftest/src/main/java/com/itextpdf/test/runners/RetryRunner.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ private void retry(EachTestNotifier notifier, Statement statement, Throwable cur
128128
while (retryCount > failedAttempts) {
129129
try {
130130
statement.evaluate();
131+
break;
131132
} catch (Throwable e) {
132133
System.out.println("Test Failed on attempt #" + (failedAttempts + 1));
133134
failedAttempts++;

0 commit comments

Comments
 (0)