GH-2220: Fix Test After Back Port
This commit is contained in:
@@ -362,11 +362,12 @@ class RetryTopicConfigurerTests {
|
||||
@Test
|
||||
@SuppressWarnings("deprecation")
|
||||
void shouldLogConsumerRecordMessage() {
|
||||
ListenerUtils.setLogOnlyMetadata(false);
|
||||
ListenerUtils.setLogOnlyMetadata(true);
|
||||
RetryTopicConfigurer.LoggingDltListenerHandlerMethod method =
|
||||
new RetryTopicConfigurer.LoggingDltListenerHandlerMethod();
|
||||
method.logMessage(consumerRecordMessage);
|
||||
then(consumerRecordMessage).should().topic();
|
||||
ListenerUtils.setLogOnlyMetadata(false);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user