lyl2008dsg commented on code in PR #6728:
URL: https://github.com/apache/incubator-seata/pull/6728#discussion_r1702803676
##########
rm-datasource/src/test/java/org/apache/seata/rm/datasource/undo/parser/JacksonUndoLogParserTest.java:
##########
@@ -99,6 +106,48 @@ public void encode() throws NoSuchFieldException,
IllegalAccessException, IOExce
bytes = mapper.writeValueAsBytes(field);
sameField = mapper.readValue(bytes, Field.class);
Assertions.assertTrue(DataCompareUtils.isFieldEquals(field,
sameField).getResult());
+
+ }
+
+ @Test
+ public void testSerializeAndDeserializeDmdbTimestamp() throws
NoSuchFieldException, IllegalAccessException, ClassNotFoundException,
NoSuchMethodException, InvocationTargetException, IOException {
+
Assumptions.assumeTrue(checkClassExists("dm.jdbc.driver.DmdbTimestamp"),
"DmdbTimestamp class not found, skipping tests.");
Review Comment:
done
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]