tkalkirill commented on code in PR #1800:
URL: https://github.com/apache/ignite-3/pull/1800#discussion_r1144854912


##########
modules/table/src/test/java/org/apache/ignite/internal/table/distributed/raft/PartitionCommandListenerTest.java:
##########
@@ -460,6 +456,48 @@ public void testSafeTime() {
         applySafeTimeCommand(SafeTimeSyncCommand.class, testClock.now());
     }
 
+    @Test
+    void testBuildIndexCommand() {
+        UUID indexId = UUID.randomUUID();
+
+        doNothing().when(storageUpdateHandler).buildIndex(eq(indexId), 
any(List.class), anyBoolean());

Review Comment:
   The point is just to check that we are calling 
`StorageUpdateHandler#buildIndex` (without mocking getting indexes for example) 
when we execute the command.
   
   The method itself is tested here 
`org.apache.ignite.internal.table.distributed.StorageUpdateHandlerTest#testBuildIndex`.



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