[ 
https://issues.apache.org/jira/browse/CALCITE-3540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stamatis Zampetakis updated CALCITE-3540:
-----------------------------------------
    Summary: FoodmartTest produces many warnings due to incorrect use of 
CalciteAssert.pooled()  (was: CalciteAssert.pooled() does not seem to work)

> FoodmartTest produces many warnings due to incorrect use of 
> CalciteAssert.pooled()
> ----------------------------------------------------------------------------------
>
>                 Key: CALCITE-3540
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3540
>             Project: Calcite
>          Issue Type: Test
>          Components: core
>    Affects Versions: 1.21.0
>            Reporter: Vladimir Sitnikov
>            Priority: Major
>              Labels: beginner
>
> Slow tests produce an extreme amount of warnings:
> Sample: [https://github.com/apache/calcite/runs/322567836#step:4:3681]
>   
>  org.apache.calcite.test.FoodmartTest > test(FoodmartQuery)[1116] STANDARD_OUT
>  2019-11-27 07:35:26,781 [pool-1116-thread-1] WARN - 
> PoolableConnectionFactory not linked to pool. Calling setPool() to fix the 
> configuration.
> It looks like .pooled() results in creating a new connection pool every time, 
> so it doesn't really work as expected.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to