You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Volodymyr Vysotskyi (JIRA)" <ji...@apache.org> on 2018/06/16 15:03:00 UTC

[jira] [Commented] (CALCITE-2368) Fix misc.iq and scalar.iq quidem unit tests failures on Windows

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

Volodymyr Vysotskyi commented on CALCITE-2368:
----------------------------------------------

PR with the fix: [https://github.com/apache/calcite/pull/736|https://github.com/apache/calcite/pull/736].

> 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
>
> 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)