sanpwc commented on a change in pull request #399:
URL: https://github.com/apache/ignite-3/pull/399#discussion_r732624495
##########
File path:
modules/runner/src/integrationTest/java/org/apache/ignite/internal/runner/app/ITTablesApiTest.java
##########
@@ -158,7 +159,12 @@ public void testCreateDropTable() throws Exception {
});
CompletableFuture<Table> tableByIdFut =
CompletableFuture.supplyAsync(() -> {
- return ((IgniteTablesInternal)ignite1.tables()).table(tblId);
+ try {
+ return ((IgniteTablesInternal)ignite1.tables()).table(tblId);
+ }
+ catch (NodeStoppingException e) {
+ throw new AssertionError(e.getMessage());
Review comment:
What's the point of throwing an AssertionError instead of
NodeStoppingError here? By the way in this particular case test will fail with
timeout exception cause node stop in @AfterEach will be blocked infinitely by
inhibitor.
--
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]