sanpwc commented on a change in pull request #399:
URL: https://github.com/apache/ignite-3/pull/399#discussion_r732606937



##########
File path: 
modules/raft/src/integrationTest/java/org/apache/ignite/raft/server/ITJRaftCounterServerTest.java
##########
@@ -179,9 +179,10 @@ void before() {
      * @return Raft server instance.
      */
     private JRaftServerImpl startServer(int idx, Consumer<RaftServer> clo) {
-        var addr = new NetworkAddress(getLocalAddress(), PORT);
+        List<NetworkAddress> addrs = IntStream.range(0, idx).mapToObj(id -> 
new NetworkAddress(getLocalAddress(), PORT + id))

Review comment:
       As far as I know, any subset of initial addresses will suites out need: 
   `Collections.singletonList(new NetworkAddress(getLocalAddress(), PORT))` 
should be enough.




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


Reply via email to