[jboss-jira] [JBoss JIRA] (WFCORE-909) Allow tests to turn on boot-time enforcement of capability resolution in an --admin-only process

Brian Stansberry (JIRA) issues at jboss.org
Tue Aug 25 08:16:43 EDT 2015


Brian Stansberry created WFCORE-909:
---------------------------------------

             Summary: Allow tests to turn on boot-time enforcement of capability resolution in an --admin-only process
                 Key: WFCORE-909
                 URL: https://issues.jboss.org/browse/WFCORE-909
             Project: WildFly Core
          Issue Type: Sub-task
          Components: Domain Management
            Reporter: Brian Stansberry


The OperationContext current will not throw error during boot of an --admin-only process if required capabilities cannot all be resolved, instead simply logging an ERROR. This is to allow the process to boot and give the user an opportunity to fix the problem.

Test suites often run admin-only processes though to test management of the model without needing to be concerned about runtime services. For these tests, failing on boot if required capabilities are not present may be desired. In particular, it's desirable for WF full's ParseAndMarshalModelsTestCase. So this task is to use a "jboss.unsupported.validate.boot.capabilities" system property to turn on capability resolution enforcement.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list