You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Steve Lawrence (Jira)" <ji...@apache.org> on 2022/10/18 12:25:00 UTC

[jira] [Updated] (DAFFODIL-2599) Integration tests fail with non en_US LANG

     [ https://issues.apache.org/jira/browse/DAFFODIL-2599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Lawrence updated DAFFODIL-2599:
-------------------------------------
    Fix Version/s:     (was: 3.4.0)

> Integration tests fail with non en_US LANG
> ------------------------------------------
>
>                 Key: DAFFODIL-2599
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2599
>             Project: Daffodil
>          Issue Type: Bug
>          Components: QA
>    Affects Versions: 3.2.0
>            Reporter: Steve Lawrence
>            Priority: Major
>              Labels: beginner
>
> Two CLI integration tests are dependent on the LANG of the system. To reroduce, run:
> {code}
> export LANG=de_DE.UTF-8
> sbt IntegrationTest/test
> {code}
> This results in the the following test failures:
> * org.apache.daffodil.parsing.TestCLIparsing.test_1002_CLI_Parsing_negativeTest03
> * org.apache.daffodil.parsing.TestCLIparsing.test_CLI_Parsing_XCatalog_Resolution_Failure
> These tests expect error strings like "No such file or directory". But that string comes from the system and is dependent on the LANG variable. For example, with LANG set to de_DE, you get the error "Datei oder Verzeichnis nicht gefunden" and so the integration test fails.
> Instead of checking for a specific error message, we should chnage these tests to look for something generic or just check the exit code like other tests do.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)