rpuch commented on code in PR #3424:
URL: https://github.com/apache/ignite-3/pull/3424#discussion_r1528002831
##########
modules/index/src/integrationTest/java/org/apache/ignite/internal/index/ItRwTransactionAndIndexesTest.java:
##########
@@ -62,16 +66,23 @@ void tearDown() {
CLUSTER.runningNodes().forEach(IgniteImpl::stopDroppingMessages);
}
+ @SuppressWarnings("resource")
@Test
- void testCreateIndexInsideRwTransaction() {
+ void testCreateIndexInsideRwTransaction() throws Exception {
+ CatalogManager catalogManager = node().catalogManager();
+
TableImpl table = (TableImpl) createZoneAndTable(ZONE_NAME,
TABLE_NAME, 1, 1, ENGINE_NAME);
- setAwaitIndexAvailability(false);
dropAnyBuildIndexMessages();
Transaction rwTx = beginRwTransaction();
- createIndex(TABLE_NAME, INDEX_NAME, COLUMN_NAME);
+ runAsync(() -> createIndex(TABLE_NAME, INDEX_NAME, COLUMN_NAME));
Review Comment:
This test is built in such a way that the iindex never becomes AVAILABLE
--
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]