Skip to content

Commit 3190141

Browse files
committed
test description
1 parent 0505718 commit 3190141

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

operator-framework/src/test/java/com/github/containersolutions/operator/EventSchedulerTest.java

+4
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,10 @@ public void processesNewEventIfItIsReceivedAfterExecutionInError() {
180180
assertThat(eventProcessingList.get(1).getException()).isNull();
181181
}
182182

183+
/**
184+
* Tests scenario when controller execution always fails (throws exception), but since the number of retries is limited
185+
* it will end eventually with maximal number of processing attempts.
186+
*/
183187
@Test
184188
public void numberOfRetriesCanBeLimited() {
185189
doAnswer(this::exceptionInExecution).when(eventDispatcher).handleEvent(any(Watcher.Action.class), any(CustomResource.class));

0 commit comments

Comments
 (0)