You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by zs...@apache.org on 2026/10/21 06:30:17 UTC

(ignite) branch master updated: IGNITE-29166 Fix flaky TableDdlIntegrationTest#alterTableLogging (#13705)

This is an automated email from the ASF dual-hosted git repository.

zstan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/master by this push:
     new 039379728a8 IGNITE-29166 Fix flaky TableDdlIntegrationTest#alterTableLogging (#13705)
039379728a8 is described below

commit 039379728a8c9b8c936b76b84d1cb8b4976d7086
Author: Evgeniy Stanilovskiy <st...@gmail.com>
AuthorDate: Wed Oct 21 09:30:08 2026 +0300

    IGNITE-29166 Fix flaky TableDdlIntegrationTest#alterTableLogging (#13705)
---
 .../query/calcite/integration/TableDdlIntegrationTest.java         | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/modules/calcite/src/test/java/org/apache/ignite/internal/processors/query/calcite/integration/TableDdlIntegrationTest.java b/modules/calcite/src/test/java/org/apache/ignite/internal/processors/query/calcite/integration/TableDdlIntegrationTest.java
index 101b61945aa..b691b49505a 100644
--- a/modules/calcite/src/test/java/org/apache/ignite/internal/processors/query/calcite/integration/TableDdlIntegrationTest.java
+++ b/modules/calcite/src/test/java/org/apache/ignite/internal/processors/query/calcite/integration/TableDdlIntegrationTest.java
@@ -40,6 +40,7 @@ import org.apache.ignite.cache.query.SqlFieldsQuery;
 import org.apache.ignite.configuration.BinaryConfiguration;
 import org.apache.ignite.configuration.CacheConfiguration;
 import org.apache.ignite.configuration.IgniteConfiguration;
+import org.apache.ignite.internal.IgniteInterruptedCheckedException;
 import org.apache.ignite.internal.MarshallerContextImpl;
 import org.apache.ignite.internal.binary.BinaryContext;
 import org.apache.ignite.internal.processors.cache.IgniteInternalCache;
@@ -1212,7 +1213,7 @@ public class TableDdlIntegrationTest extends AbstractDdlIntegrationTest {
      * Alter table logging/nologing.
      */
     @Test
-    public void alterTableLogging() {
+    public void alterTableLogging() throws IgniteInterruptedCheckedException {
         String cacheName = "cache";
 
         client.getOrCreateCache(new CacheConfiguration<>(cacheName)
@@ -1222,11 +1223,11 @@ public class TableDdlIntegrationTest extends AbstractDdlIntegrationTest {
 
         sql("alter table \"" + cacheName + "\".Integer nologging");
 
-        assertFalse(client.cluster().isWalEnabled(cacheName));
+        assertTrue(GridTestUtils.waitForCondition(() -> !client.cluster().isWalEnabled(cacheName), 1_000));
 
         sql("alter table \"" + cacheName + "\".Integer logging");
 
-        assertTrue(client.cluster().isWalEnabled(cacheName));
+        assertTrue(GridTestUtils.waitForCondition(() -> client.cluster().isWalEnabled(cacheName), 1_000));
     }
 
     /**