tkalkirill commented on code in PR #1697:
URL: https://github.com/apache/ignite-3/pull/1697#discussion_r1115301569


##########
modules/core/src/testFixtures/java/org/apache/ignite/internal/testframework/matchers/CompletableFutureMatcher.java:
##########
@@ -174,6 +174,26 @@ public static CompletableFutureMatcher<Object> 
willFailIn(int time, TimeUnit tim
         return new CompletableFutureMatcher<>(anything(), time, timeUnit, 
cause);
     }
 
+    /**
+     * Creates a matcher that matches a future that <strong>not</strong> 
completes decently fast.
+     *
+     * @return matcher.
+     */
+    public static CompletableFutureMatcher<Object> willTimeoutFast() {
+        return willTimeoutIn(1, TimeUnit.SECONDS);

Review Comment:
   set 250 ms



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