nizhikov commented on code in PR #10603:
URL: https://github.com/apache/ignite/pull/10603#discussion_r1153322094


##########
modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/IgniteClusterSnapshotRestoreWithIndexingTest.java:
##########
@@ -76,8 +76,11 @@ public void testBasicClusterSnapshotRestore() throws 
Exception {
 
         grid(0).snapshot().restoreSnapshot(SNAPSHOT_NAME, 
Collections.singleton(DEFAULT_CACHE_NAME)).get(TIMEOUT);
 
+        if (onlyPrimary)
+            awaitPartitionMapExchange();

Review Comment:
   In `onlyPrimary` mode index rebuild will happen.
   `awaitPartitionMapExchange` required to await while index rebuild ends so 
subsequent checks will pass.



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