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 2021/06/29 15:00:00 UTC
[jira] [Resolved] (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 ]
Steve Lawrence resolved DAFFODIL-2533.
--------------------------------------
Fix Version/s: 3.2.0
Resolution: Fixed
Fixed in commit 25685c75ee611c73976f5ffed75686c48e6a98bf
> 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)