Aleksey Plekhanov created IGNITE-27902:
------------------------------------------

             Summary: Flaky SqlDiagnosticIntegrationTest.testThreadPoolMetrics
                 Key: IGNITE-27902
                 URL: https://issues.apache.org/jira/browse/IGNITE-27902
             Project: Ignite
          Issue Type: Bug
            Reporter: Aleksey Plekhanov
            Assignee: Aleksey Plekhanov


Test fails on TC with the exception:
{noformat}
java.lang.AssertionError
        at org.junit.Assert.fail(Assert.java:86)
        at org.junit.Assert.assertTrue(Assert.java:41)
        at org.junit.Assert.assertTrue(Assert.java:52)
        at 
org.apache.ignite.testframework.junits.JUnitAssertAware.assertTrue(JUnitAssertAware.java:35)
        at 
org.apache.ignite.internal.processors.query.calcite.integration.SqlDiagnosticIntegrationTest.testThreadPoolMetrics(SqlDiagnosticIntegrationTest.java:340)
{noformat}
Reason: 
When task is executing in calcite's thread pool it calls 
{{downstream().push()}} and {{downstream().end()}}, which signals RootNode to 
take result and return control to {{test-runner}} thread. Meanwhile task in 
calcite's thread still holding the worker for some time and completed tasks 
counter can miss this task when {{test-runner}} asks for this metric.



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

Reply via email to