Skip to content

Commit c2e468d

Browse files
committed
GH-2226: Remove Obsolete Test
1 parent f434d51 commit c2e468d

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

spring-kafka/src/test/java/org/springframework/kafka/config/RetryTopicConfigurationSupportTests.java

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -221,22 +221,6 @@ protected RetryTopicComponentFactory createComponentFactory() {
221221
then(factory).should(never()).setTaskExecutor(taskExecutorMock);
222222
}
223223

224-
@Test
225-
void testCreatesTaskExecutorIfTimingAdjustmentEnabled() {
226-
RetryTopicComponentFactory componentFactory = mock(RetryTopicComponentFactory.class);
227-
ThreadPoolTaskExecutor taskExecutorMock = mock(ThreadPoolTaskExecutor.class);
228-
given(componentFactory.taskExecutor()).willReturn(taskExecutorMock);
229-
RetryTopicConfigurationSupport support = new RetryTopicConfigurationSupport() {
230-
@Override
231-
protected RetryTopicComponentFactory createComponentFactory() {
232-
return componentFactory;
233-
}
234-
};
235-
TaskExecutor taskExecutor = support.backoffManagerTaskExecutor();
236-
then(componentFactory).should().taskExecutor();
237-
assertThat(taskExecutor).isEqualTo(taskExecutorMock);
238-
}
239-
240224
@Test
241225
void testCreatesTaskExecutor() {
242226
RetryTopicConfigurationSupport support = new RetryTopicConfigurationSupport();

0 commit comments

Comments
 (0)