SammyVimes commented on code in PR #2283:
URL: https://github.com/apache/ignite-3/pull/2283#discussion_r1261042757


##########
modules/core/src/testFixtures/java/org/apache/ignite/internal/testframework/IgniteTestUtils.java:
##########
@@ -891,4 +894,40 @@ public boolean matches(Object o) {
             return predicate.test((DataT) o);
         }
     }
+
+    /**
+     * Creates a matcher that tests if a CompletableFuture has completed 
successfully.
+     *
+     * @param <T> the type of the CompletableFuture
+     * @return a matcher for a successfully completed CompletableFuture
+     */
+    public static <T> Matcher<CompletableFuture<T>> completedSuccessfully() {

Review Comment:
   I moved it to a separate class



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