You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2018/03/12 18:52:00 UTC
[jira] [Resolved] (CALCITE-2197) Test failures on Windows
[ https://issues.apache.org/jira/browse/CALCITE-2197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Hyde resolved CALCITE-2197.
----------------------------------
Resolution: Fixed
Fixed in [fb8ebd31|http://git-wip-us.apache.org/repos/asf/calcite/commit/fb8ebd31]. I added some matchers - e.g. Matchers.isLinux - that compare strings ignoring platform-specific line endings. Thus you can define your reference string using linux line endings (\n) and it will pass when the test runs on Windows and generates a similar string contains windows line endings (\r\n).
> Test failures on Windows
> ------------------------
>
> Key: CALCITE-2197
> URL: https://issues.apache.org/jira/browse/CALCITE-2197
> Project: Calcite
> Issue Type: Bug
> Reporter: Julian Hyde
> Assignee: Julian Hyde
> Priority: Major
> Fix For: 1.16.0
>
>
> There are currently test failures on Windows. Fix by defining matchers that compare strings regardless of line-endings.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)