We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0505718 commit 3190141Copy full SHA for 3190141
operator-framework/src/test/java/com/github/containersolutions/operator/EventSchedulerTest.java
@@ -180,6 +180,10 @@ public void processesNewEventIfItIsReceivedAfterExecutionInError() {
180
assertThat(eventProcessingList.get(1).getException()).isNull();
181
}
182
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
+ */
187
@Test
188
public void numberOfRetriesCanBeLimited() {
189
doAnswer(this::exceptionInExecution).when(eventDispatcher).handleEvent(any(Watcher.Action.class), any(CustomResource.class));
0 commit comments