Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,9 @@ void triggerOnAllEventDeleteEventInstantlyAfterEvent() {
eventProcessor.handleEvent(prepareCRDeleteEvent1());

waitUntilProcessingFinished(eventProcessor, TestUtils.testCustomResource1Id());
verify(reconciliationDispatcherMock, times(1)).handleExecution(any());
// it is expected to be usually called only once, but it can happen based on timing that called
// twice
verify(reconciliationDispatcherMock, atMost(2)).handleExecution(any());
}

@Test
Expand Down