ibessonov commented on code in PR #1464:
URL: https://github.com/apache/ignite-3/pull/1464#discussion_r1055222992


##########
modules/core/src/testFixtures/java/org/apache/ignite/internal/testframework/IgniteTestUtils.java:
##########
@@ -766,4 +771,43 @@ public static <T> T await(CompletionStage<T> stage, long 
timeout, TimeUnit unit)
     public static <T> T await(CompletionStage<T> stage) {
         return await(stage, TIMEOUT_SEC, TimeUnit.SECONDS);
     }
+
+    /**
+     * Runs all actions, each in a separate thread, having a {@link 
CyclicBarrier} before calling {@link RunnableX#run()}.
+     *
+     * @throws InterruptedException If failed to {@link Thread#join()} a 
thread.
+     */
+    public static void startRace(RunnableX... actions) throws 
InterruptedException {

Review Comment:
   Good



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