Skip to content

Commit

Permalink
GH-2220: Fix Test After Back Port
Browse files Browse the repository at this point in the history
  • Loading branch information
garyrussell committed Apr 14, 2022
1 parent 0072574 commit cbca786
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -362,11 +362,12 @@ void shouldInstantiateIfNotInContainer() {
@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
Expand Down

0 comments on commit cbca786

Please sign in to comment.