sashapolo commented on a change in pull request #153:
URL: https://github.com/apache/ignite-3/pull/153#discussion_r643288919
##########
File path:
modules/raft/src/integrationTest/java/org/apache/ignite/raft/server/RaftCounterServerAbstractTest.java
##########
@@ -51,10 +45,11 @@
protected static final int PORT = 20010;
/** */
- private static final MessageSerializationRegistry SERIALIZATION_REGISTRY =
new MessageSerializationRegistry()
- .registerFactory(ScaleCubeMessage.TYPE, new
ScaleCubeMessageSerializationFactory())
- .registerFactory(HandshakeStartMessage.TYPE, new
HandshakeStartMessageSerializationFactory())
- .registerFactory(HandshakeStartResponseMessage.TYPE, new
HandshakeStartResponseMessageSerializationFactory());
+ private static final MessageSerializationRegistry SERIALIZATION_REGISTRY =
new MessageSerializationRegistry();
+
+ static {
+
NetworkMessagesSerializationRegistryInitializer.initialize(SERIALIZATION_REGISTRY);
Review comment:
done, I've extracted an interface
--
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]