Zhangyx39 commented on a change in pull request #1426:
URL: https://github.com/apache/samza/pull/1426#discussion_r485995915
##########
File path:
samza-core/src/test/java/org/apache/samza/serializers/model/serializers/TestIntermediateMessageSerde.java
##########
@@ -126,4 +128,14 @@ public void testEndOfStreamMessageSerde() {
assertEquals(de.getTaskName(), taskName);
assertEquals(de.getVersion(), 1);
}
+
+ @Test (expected = SamzaException.class)
+ public void testUserMessageSerdeException() {
+ IntermediateMessageSerde imserde = new IntermediateMessageSerde(new
ObjectSerde());
+ IntermediateMessageSerde imserde2 = new IntermediateMessageSerde(new
JsonSerdeV2<>());
Review comment:
Good suggestion. I have updated to use a mocked serde.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]