Github user ishark commented on a diff in the pull request:
https://github.com/apache/incubator-apex-malhar/pull/137#discussion_r48507863
--- Diff:
library/src/test/java/com/datatorrent/lib/parser/XmlParserTest.java ---
@@ -65,6 +73,19 @@ protected void finished(Description description)
}
@Test
+ public void testOperatorSerialization()
--- End diff --
@shubham-pathak22 this test is only to check if the operator is kryo
serializable. If operator's test run a dag then serialization automatically
gets validated in unit tests. However, all the tests for this operator directly
call process on operator input port, so serialization never got checked. Hence
added the test.
But yes, @chandnisingh had mentioned there could be a utility for this test
going forward.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---