You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Dave Thompson (Jira)" <ji...@apache.org> on 2021/07/06 09:51:00 UTC

[jira] [Closed] (DAFFODIL-2533) TDMLRunner not detecting tdml:defineConfig's with same name

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

Dave Thompson closed DAFFODIL-2533.
-----------------------------------

DAFFODIL-2533:

Verified the specified commit (commit 25685c75ee611c73976f5ffed75686c48e6a98bf) is included in the latest pull from the daffodil repository.

Verified changes identified in commit comment were implemented.

Verified the affected daffodil subproject sbt test suites execute successfully including the added test including the added tests.

Verified the nightly test schemas compile and save successfully.

Verified the nightly test suite executes successfully.

> TDMLRunner not detecting tdml:defineConfig's with same name
> -----------------------------------------------------------
>
>                 Key: DAFFODIL-2533
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2533
>             Project: Daffodil
>          Issue Type: Bug
>          Components: TDML Runner
>    Affects Versions: 3.1.0
>            Reporter: Steve Lawrence
>            Assignee: Steve Lawrence
>            Priority: Minor
>              Labels: beginner
>             Fix For: 3.2.0
>
>
> It looks like the TDMLRunner does not detect and error if duplicate defineConfigs exist. For example, the config "cfg_defaultNamespace" is defined twice in this file with different tuanble settings.
> daffodil-test/src/test/resources/org/apache/daffodil/section00/general/tunables.tdml
> This likely means someone copy/pasted a config and forgot to change the name, so there are probably tests not using the intended configs. We added the capability to detect and error when test cases are defined with duplicate names. We should probably do the same for defineConfig.
>  



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