You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Valentin Kulichenko (Jira)" <ji...@apache.org> on 2021/01/04 20:33:00 UTC

[jira] [Created] (IGNITE-13950) IgniteCliInterfaceTest can fail on Windows

Valentin Kulichenko created IGNITE-13950:
--------------------------------------------

             Summary: IgniteCliInterfaceTest can fail on Windows
                 Key: IGNITE-13950
                 URL: https://issues.apache.org/jira/browse/IGNITE-13950
             Project: Ignite
          Issue Type: Bug
            Reporter: Valentin Kulichenko


{{IgniteCliInterfaceTest}} does not take into account that line separators can differ between different operating systems. Under Windows, it's typically {{\r\n}} instead of just {{\n}}, which causes multiple test cases to fail.

To make sure these tests pass on every OS, we should compare a multi-line output line by line (i.e. convert both expected and actual string values to lists of lines and verify that these lists are the same).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)