[
https://issues.apache.org/jira/browse/CALCITE-2368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16522978#comment-16522978
]
Julian Hyde commented on CALCITE-2368:
--------------------------------------
Thanks for fixing this. I managed to track down the same cause on Friday, but
it took me several hours to work back from the de-correlation algorithm to
THREAD_EXPAND to CoreQuidemTest. For I while I simply could not believe that
the de-correlation algorithm would work differently on Windows. So, I'm
impressed that you found it.
> Fix misc.iq and scalar.iq quidem unit tests failures on Windows
> ---------------------------------------------------------------
>
> Key: CALCITE-2368
> URL: https://issues.apache.org/jira/browse/CALCITE-2368
> Project: Calcite
> Issue Type: Bug
> Reporter: Volodymyr Vysotskyi
> Assignee: Julian Hyde
> Priority: Major
> Fix For: 1.17.0
>
>
> misc.iq and scalar.iq quidem unit tests fail on Windows but pass on Linux.
> *Problem description*
> Files with quidem tests are discovered in runtime. Some tests, such as
> misc.iq or scalar.iq require setting up {{THREAD_EXPAND}} to true (see
> {{CoreQuidemTest.testSqlMisc()}} and {{CoreQuidemTest.testSqlScalar()}}
> methods).
> Methods, which should be called for concrete quidem tests to set required
> variables are discovered using the filename.
> Code replaces character {{'/'}} in the filepath, but in the case of Windows
> in the path was path separator char for Windows.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)