Evgeny Stanilovsky created IGNITE-29166:
-------------------------------------------

             Summary: Fix flaky TableDdlIntegrationTest#alterTableLogging
                 Key: IGNITE-29166
                 URL: https://issues.apache.org/jira/browse/IGNITE-29166
             Project: Ignite
          Issue Type: Bug
          Components: sql
    Affects Versions: 2.18
            Reporter: Evgeny Stanilovsky
            Assignee: Evgeny Stanilovsky
         Attachments: image-2026-10-19-16-23-15-369.png, 
image-2026-10-19-16-28-02-933.png, image-2026-10-19-16-28-58-177.png

Test TableDdlIntegrationTest#alterTableLogging is rare flaky cause 
disco-notifier and user threads are not syncronized,  I can\`t reproduce it 
locally but it can be reproduced by simple sleep hack like : 

CacheGroupDescriptor#walEnabled(boolean) ->

    public void walEnabled(boolean walEnabled) {
        try {
            Thread.sleep(100);
        }
        catch (InterruptedException e) {
            throw new RuntimeException(e);
        }
        this.walEnabled = walEnabled;
    }

{noformat}
java.lang.AssertionError
  at org.junit.Assert.fail(Assert.java:87)
  at org.junit.Assert.assertTrue(Assert.java:42)
  at org.junit.Assert.assertTrue(Assert.java:53)
  at 
org.apache.ignite.testframework.junits.JUnitAssertAware.assertTrue(JUnitAssertAware.java:35)
  at 
org.apache.ignite.internal.processors.query.calcite.integration.TableDdlIntegrationTest.alterTableLogging(TableDdlIntegrationTest.java:1229)
{noformat}

 !image-2026-10-19-16-23-15-369.png! 
 !image-2026-10-19-16-28-02-933.png! 
 !image-2026-10-19-16-28-58-177.png! 




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to