runzhiwang commented on a change in pull request #213:
URL: https://github.com/apache/incubator-ratis/pull/213#discussion_r499971513



##########
File path: 
ratis-test/src/test/java/org/apache/ratis/datastream/TestDataStream.java
##########
@@ -37,34 +39,68 @@
 
 public class TestDataStream extends BaseTest {
 
-  private RaftPeer[] peers;
+  private List<RaftPeer> peers;
   private RaftProperties properties;
-  private DataStreamServerImpl server;
+  private List<DataStreamServerImpl> servers;
   private DataStreamClientImpl client;
   private List<CompletableFuture<DataStreamReply>> futures = new ArrayList<>();
 
   public void setupServer(){
-    server = new DataStreamServerImpl(peers[0], properties, null);

Review comment:
       change `public void setupServer() ` to `private void setupServer()`




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


Reply via email to