ivanzlenko commented on code in PR #5586:
URL: https://github.com/apache/ignite-3/pull/5586#discussion_r2032596565


##########
modules/index/src/integrationTest/java/org/apache/ignite/internal/index/ItIndexNodeFinishedRwTransactionsCheckerTest.java:
##########
@@ -302,4 +303,21 @@ private static CompletableFuture<Void> 
awaitAddWriteCommittedForAnyMvPartitionSt
 
         return awaitStartUpdateAnyMvPartitionStorageFuture;
     }
+
+    private static MvPartitionStorage waitForMvPartitionStorage(MvTableStorage 
mvTableStorage, int partitionId)
+            throws InterruptedException {
+        waitForCondition(() -> getMvPartitionStorage(mvTableStorage, 
partitionId) != null, SECONDS.toMillis(10));
+
+        MvPartitionStorage storage = getMvPartitionStorage(mvTableStorage, 
partitionId);
+        assertThat(storage, is(notNullValue()));

Review Comment:
   Isn't it better to just have assertNotNull? :) 



-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to