sebastienviale commented on code in PR #17942:
URL: https://github.com/apache/kafka/pull/17942#discussion_r2210237614
##########
streams/src/test/java/org/apache/kafka/streams/processor/internals/RecordCollectorTest.java:
##########
@@ -1713,7 +1715,7 @@ public void
shouldThrowStreamsExceptionWhenSerializationFailedAndProductionExcep
assertEquals("Fatal user code error in production error callback",
exception.getMessage());
assertInstanceOf(NullPointerException.class, exception.getCause());
- assertEquals("Invalid ProductionExceptionHandler response.",
exception.getCause().getMessage());
+ assertEquals("Invalid ProductionExceptionResponse response.",
exception.getCause().getMessage());
Review Comment:
fixed
##########
streams/src/test/java/org/apache/kafka/streams/processor/internals/RecordCollectorTest.java:
##########
@@ -1762,7 +1764,7 @@ public void
shouldThrowStreamsExceptionOnSubsequentFlushIfASendFailsAndProductio
final StreamsException thrown = assertThrows(StreamsException.class,
collector::flush);
assertEquals("Fatal user code error in production error callback",
thrown.getMessage());
assertInstanceOf(NullPointerException.class, thrown.getCause());
- assertEquals("Invalid ProductionExceptionHandler response.",
thrown.getCause().getMessage());
+ assertEquals("Invalid ProductionExceptionResponse response.",
thrown.getCause().getMessage());
Review Comment:
fixed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]