File tree 1 file changed +3
-3
lines changed
operator-framework-core/src/test/java/io/javaoperatorsdk/operator/processing 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ public void schedulesAnEventRetryOnException() {
101
101
}
102
102
103
103
@ Test
104
- public void executesTheControllerInstantlyAfterErrorIfEventsBuffered () {
104
+ public void executesTheControllerInstantlyAfterErrorIfNewEventsReceived () {
105
105
Event event = prepareCREvent ();
106
106
TestCustomResource customResource = testCustomResource ();
107
107
overrideData (event .getRelatedCustomResourceID (), customResource );
@@ -114,7 +114,7 @@ public void executesTheControllerInstantlyAfterErrorIfEventsBuffered() {
114
114
115
115
// start processing an event
116
116
defaultEventHandlerWithRetry .handleEvent (event );
117
- // buffer another event
117
+ // handle another event
118
118
defaultEventHandlerWithRetry .handleEvent (event );
119
119
120
120
ArgumentCaptor <ExecutionScope > executionScopeArgumentCaptor =
@@ -180,7 +180,7 @@ public void scheduleTimedEventIfInstructedByPostExecutionControl() {
180
180
}
181
181
182
182
@ Test
183
- public void reScheduleOnlyIfNotExecutedBufferedEvents () {
183
+ public void reScheduleOnlyIfNotExecutedEventsReceivedMeanwhile () {
184
184
var testDelay = 10000L ;
185
185
when (eventDispatcherMock .handleExecution (any ()))
186
186
.thenReturn (PostExecutionControl .defaultDispatch ().withReSchedule (testDelay ));
You can’t perform that action at this time.
0 commit comments