[jboss-jira] [JBoss JIRA] (AS7-1788) Fix Infinispan description providers for the improved validation in jboss-as-subsystem-test
Richard Achmatowicz (JIRA)
jira-events at lists.jboss.org
Thu Feb 2 15:30:48 EST 2012
[ https://issues.jboss.org/browse/AS7-1788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12663876#comment-12663876 ]
Richard Achmatowicz commented on AS7-1788:
------------------------------------------
Added in the following:
{noformat}
@Override
protected ValidationConfiguration getModelValidationConfiguration() {
// use this configuration to report any exceptional cases for description providers
return new ValidationConfiguration();
}
{noformat}
which activates descriptor validation and at the same time reminds me that there are sometimes circumstances where we need to temporarily disable sanity of the descriptor setup.
Testsuite passes with no resulting errors, so I assume all is well.
> Fix Infinispan description providers for the improved validation in jboss-as-subsystem-test
> -------------------------------------------------------------------------------------------
>
> Key: AS7-1788
> URL: https://issues.jboss.org/browse/AS7-1788
> Project: Application Server 7
> Issue Type: Feature Request
> Components: Clustering
> Reporter: Kabir Khan
> Assignee: Richard Achmatowicz
> Fix For: 7.1.0.Final
>
>
> I added a test called InfinispanSubsystemTest which uses our subsystem testing framework which attempts to validate the description providers, this will be committed to upstream in the next few days.
> To make the tests pass I had to override AdditionalInitialization.getModelValidationConfiguration() as follows:
> {code}
> @Override
> protected ValidationConfiguration getModelValidationConfiguration() {
> return null;
> }
> {code}
> Returning null basically turns off validation of the providers. What I have added is a minimum of what is required for subsystem testing, the test framework allows you to do a lot of other stuff, see the jmx subsystem test for some examples.
> The wip lives at https://github.com/kabir/jboss-as/tree/subsystem-test-model-fixes
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list