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


##########
modules/table/src/test/java/org/apache/ignite/internal/table/distributed/raft/snapshot/PartitionAccessImplTest.java:
##########
@@ -204,4 +208,12 @@ void testAddWriteCommitted() {
 
         verify(indexStorage, never()).put(eq(binaryRow), eq(rowId));
     }
+
+    private static MvPartitionStorage createMvPartition(MvTableStorage 
tableStorage, int partitionId) {
+        CompletableFuture<MvPartitionStorage> createMvPartitionFuture = 
tableStorage.createMvPartition(partitionId);
+
+        assertThat(createMvPartitionFuture, willCompleteSuccessfully());
+
+        return createMvPartitionFuture.join();

Review Comment:
   It is not necessary because above we make sure that the future completed.
   
   `assertThat(createMvPartitionFuture, willCompleteSuccessfully());`



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