[ 
https://issues.apache.org/jira/browse/IGNITE-27902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18059319#comment-18059319
 ] 

Evgeny Stanilovsky commented on IGNITE-27902:
---------------------------------------------

[~alex_pl] looks good, plz procced

> 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
>            Priority: Major
>              Labels: MakeTeamcityGreenAgain, calcite, ise
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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