runzhiwang commented on a change in pull request #272:
URL: https://github.com/apache/incubator-ratis/pull/272#discussion_r521891899
##########
File path:
ratis-netty/src/test/java/org/apache/ratis/netty/MiniRaftClusterWithNetty.java
##########
@@ -59,6 +74,7 @@ protected RaftServerProxy newRaftServer(
RaftPeerId id, StateMachine.Registry stateMachineRegistry , RaftGroup
group,
RaftProperties properties) throws IOException {
NettyConfigKeys.Server.setPort(properties, getPort(id, group));
+ NettyConfigKeys.DataStream.setPort(properties, getDataStreamPort(id,
group));
Review comment:
What's the relationship between this propertis and the propertis in the
following code, why need setPort twice?

----------------------------------------------------------------
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]