You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sa...@apache.org on 2024/03/27 18:30:45 UTC
(ignite-3) branch main updated: IGNITE-21855 Fix ItIndexAndIndexStorageDestructionTest (#3503)
This is an automated email from the ASF dual-hosted git repository.
sanpwc pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git
The following commit(s) were added to refs/heads/main by this push:
new 38af0512c3 IGNITE-21855 Fix ItIndexAndIndexStorageDestructionTest (#3503)
38af0512c3 is described below
commit 38af0512c378640b018b1e6f5ecbe4c2f2b31d0a
Author: Roman Puchkovskiy <ro...@gmail.com>
AuthorDate: Wed Mar 27 22:30:40 2024 +0400
IGNITE-21855 Fix ItIndexAndIndexStorageDestructionTest (#3503)
---
.../ignite/internal/index/ItIndexAndIndexStorageDestructionTest.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules/index/src/integrationTest/java/org/apache/ignite/internal/index/ItIndexAndIndexStorageDestructionTest.java b/modules/index/src/integrationTest/java/org/apache/ignite/internal/index/ItIndexAndIndexStorageDestructionTest.java
index 02f8d53ee9..018cf06d17 100644
--- a/modules/index/src/integrationTest/java/org/apache/ignite/internal/index/ItIndexAndIndexStorageDestructionTest.java
+++ b/modules/index/src/integrationTest/java/org/apache/ignite/internal/index/ItIndexAndIndexStorageDestructionTest.java
@@ -17,6 +17,7 @@
package org.apache.ignite.internal.index;
+import static org.apache.ignite.internal.TestWrappers.unwrapTableImpl;
import static org.apache.ignite.lang.ErrorGroups.Storage.ALREADY_DESTROYED_ERR;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.is;
@@ -71,7 +72,7 @@ class ItIndexAndIndexStorageDestructionTest extends ClusterPerTestIntegrationTes
session.execute(null, "INSERT INTO " + TABLE_NAME + " (id, name) VALUES (" + PREEXISTING_KEY + ", 'John')");
});
- TableImpl table = (TableImpl) node.tables().table(TABLE_NAME);
+ TableImpl table = unwrapTableImpl(node.tables().table(TABLE_NAME));
initiateIndexStoragesDestruction(table, INDEX_NAME);
}