runzhiwang commented on a change in pull request #266:
URL: https://github.com/apache/incubator-ratis/pull/266#discussion_r520945968
##########
File path:
ratis-test/src/test/java/org/apache/ratis/datastream/TestDataStreamNetty.java
##########
@@ -96,6 +96,7 @@ private void testCloseStream(int leaderIndex, int numServers)
throws Exception {
RaftPeerId peerId = RaftPeerId.valueOf("s" + i);
RaftProperties properties = new RaftProperties();
NettyConfigKeys.DataStream.setPort(properties,
NetUtils.createLocalServerAddress().getPort());
+ RaftConfigKeys.DataStream.setType(properties,
SupportedDataStreamType.NETTY);
Review comment:
@amaliujia It's a mock RaftServer, will not use properties set at line
61.
----------------------------------------------------------------
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]