lowka commented on code in PR #2712:
URL: https://github.com/apache/ignite-3/pull/2712#discussion_r1399255717


##########
modules/runner/src/integrationTest/java/org/apache/ignite/internal/sql/engine/ItBuildIndexTest.java:
##########
@@ -275,6 +284,10 @@ private static void checkIndexBuild(int partitions, int 
replicas, String indexNa
                     IgniteStringFormatter.format("p={}, nodes={}", 
entry.getKey(), entry.getValue())
             );
         }
+
+        waitForCondition(() -> isIndexAvailable(INDEX_NAME), 10_000);
+
+        waitForReadTimestampThatObservesMostRecentCatalog();

Review Comment:
   there is a javadoc that explains this.
   
   > Waits for some amount of time so that read-only transactions can observe 
the most recent version of the catalog. 
   



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