Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-2368

Fix misc.iq and scalar.iq quidem unit tests failures on Windows

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.17.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              julianhyde Julian Hyde
              Reporter:
              vvysotskyi Volodymyr Vysotskyi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: