[jboss-jira] [JBoss JIRA] (WFCORE-901) ModelParserUtils isn't doing much
Brian Stansberry (JIRA)
issues at jboss.org
Fri Aug 21 17:44:26 EDT 2015
[ https://issues.jboss.org/browse/WFCORE-901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Stansberry updated WFCORE-901:
------------------------------------
Fix Version/s: 2.0.0.CR1
> ModelParserUtils isn't doing much
> ---------------------------------
>
> Key: WFCORE-901
> URL: https://issues.jboss.org/browse/WFCORE-901
> Project: WildFly Core
> Issue Type: Task
> Components: Domain Management
> Reporter: Brian Stansberry
> Assignee: Brian Stansberry
> Priority: Critical
> Fix For: 2.0.0.CR1
>
>
> ModelParserUtils used by full WildFly's ParseAndMarshalModelsTestCase isn't really testing much. It sets up controllers that kind of seem like the real ones, then parses the config, then executes the boot ops one at a time, ignoring failures. Then it repeats and compares the model created the first round to the one created the second round.
> All this proves is that the same errors get ignored in each round.
> When I try to correct this it turns out all sorts of errors are happening.
> This should be redone to launch an embedded server or hc using the given config, then use a client to read the model. The modify the config, then do a second op to reverse the mod. This forces persistence. Then reload and read the model again. Compare the two models.
> This approach is a test of the real software.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jboss-jira
mailing list