sashapolo commented on code in PR #1240:
URL: https://github.com/apache/ignite-3/pull/1240#discussion_r1005304509


##########
modules/raft/src/test/java/org/apache/ignite/internal/raft/RaftGroupServiceTest.java:
##########
@@ -213,36 +188,29 @@ public void testRefreshLeaderElectedAfterDelay() throws 
Exception {
         assertEquals(NODES.get(0), service.leader());
     }
 
-    /**
-     * @throws Exception
-     */
     @Test
     public void testRefreshLeaderWithTimeout() throws Exception {
         mockLeaderRequest(true);
 
         RaftGroupService service =
-            RaftGroupServiceImpl.start(TEST_GRP, cluster, FACTORY, TIMEOUT, 
NODES, false, DELAY, executor).get(3, TimeUnit.SECONDS);
+                RaftGroupServiceImpl.start(TEST_GRP, cluster, FACTORY, 
TIMEOUT, NODES, false, DELAY, executor).get(3, TimeUnit.SECONDS);
 
         try {
             service.refreshLeader().get(500, TimeUnit.MILLISECONDS);

Review Comment:
   I didn't change this code much, I only fixed the checkstyle issues. But 
okay, let's refactor it as well



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