rpuch commented on code in PR #5586: URL: https://github.com/apache/ignite-3/pull/5586#discussion_r2032601660
########## 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: I just like how it reads like plain English: 'assert that storage is not null value' :) -- 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