Volodymyr Vysotskyi created CALCITE-2368:
--------------------------------------------
Summary: 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
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)