[jboss-jira] [JBoss JIRA] (WFCORE-1892) Support rejection-style testing for capabilities-enabled subsystem in test framework
Radoslav Husar (JIRA)
issues at jboss.org
Tue Oct 25 12:30:00 EDT 2016
Radoslav Husar created WFCORE-1892:
--------------------------------------
Summary: Support rejection-style testing for capabilities-enabled subsystem in test framework
Key: WFCORE-1892
URL: https://issues.jboss.org/browse/WFCORE-1892
Project: WildFly Core
Issue Type: Feature Request
Components: Test Suite
Affects Versions: 3.0.0.Alpha10
Reporter: Radoslav Husar
Assignee: Tomaz Cerar
Rejection-style transformer tests assumes each operation generated by parser can be executed on its own, outside of a batch This has been generally the case until introduction of capabilities. If a subsystem add operation references a capability introduced by subsequent add operations the rejection test cannot be bent over to pass. This is an issue of the test framework, during normal boot the operations are batched and this is not a problem.
An example of this can be found in the singleton subsystem:
/subsystem=singleton:add(default=mypolicy)
/subsystem=singleton/singleton-policy=mypolicy:add(...)
I assume this will be more of a problem when testing EAP 7.2 to 7.1 transformations since there aren't many subsystems supporting capabilities in 7.0 apart from the singleton subsystem.
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
More information about the jboss-jira
mailing list