sergey-chugunov-1985 commented on code in PR #13640:
URL: https://github.com/apache/ignite/pull/13640#discussion_r4283744260
##########
modules/core/src/test/java/org/apache/ignite/internal/processors/rollingupgrade/message/RollingUpgradeMessageSerializationTest.java:
##########
@@ -438,6 +444,95 @@ public void testWholeUpgradeProcess() throws Exception {
checkMessagesTransmissionBetweenAllNodes(A, null, null, null, E, F);
}
+ /** */
+ @Test
+ public void testRawFieldKeptByOldNodeAndResent() throws Exception {
+ startServerNodes("2.20.0", "2.20.1");
+
+ TestMessage rcvd = send(grid(1), grid(0), CORE_MSG);
+
+ assertEquals(TestCoreMessage_2_20_0.class, rcvd.getClass());
+ assertEquals(1, rcvd.rawFields().size());
+ assertEquals(VER_2_20_1_ID_6_FEATURE.id(),
rcvd.rawFields().get(0).tag());
+
+ assertEquals(F, send(grid(0), grid(1), rcvd).fldF());
+ assertEquals(1, rcvd.rawFields().size());
+ assertEquals(F, send(grid(0), grid(1), rcvd).fldF());
Review Comment:
This line is equivalent to L458. What is its purpose?
--
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]