Skip to content

Commit 678f18f

Browse files
committed
server: Fixing a test to stop after several attempts instead of looping infinitely
1 parent d47b6fb commit 678f18f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/server/test/org/openqa/grid/internal/DefaultToFIFOPriorityTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public void validateRequestAreHandledFIFO() throws InterruptedException {
106106
requests.get(0).getSession();
107107
break;
108108
} catch (Throwable e) {
109-
// ignore.
109+
cpt++;
110110
}
111111
Thread.sleep(250);
112112
}

0 commit comments

Comments
 (0)