rpuch commented on code in PR #5122:
URL: https://github.com/apache/ignite-3/pull/5122#discussion_r1930536320
##########
modules/core/src/testFixtures/java/org/apache/ignite/internal/testframework/asserts/CompletableFutureAssert.java:
##########
@@ -92,12 +92,18 @@ public static <X extends Throwable> X assertWillThrow(
try {
normalResult = future.get(timeout, timeUnit);
} catch (TimeoutException e) {
- return fail("Expected the future to be completed with an exception
of class in time, but it did not");
+ if (expectedExceptionClass.isInstance(e)) {
Review Comment:
To tell that we failed because the future was not completed *in time*, and
not just because it failed
--
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]