[jboss-jira] [JBoss JIRA] (WFLY-10028) Move XML/XSD validation test case to dist module
Jeff Mesnil (JIRA)
issues at jboss.org
Thu Mar 15 04:20:00 EDT 2018
Jeff Mesnil created WFLY-10028:
----------------------------------
Summary: Move XML/XSD validation test case to dist module
Key: WFLY-10028
URL: https://issues.jboss.org/browse/WFLY-10028
Project: WildFly
Issue Type: Task
Components: Test Suite
Affects Versions: 12.0.0.Final
Reporter: Jeff Mesnil
The StandardConfigsXMLValidationUnitTestCase and XSDValidationUnitTestCase tests validates that the XML and XSD files that are shipped with WildFly are valid.
However, these tests are run by the smoke test suite and it is possible that previous tests have modified the configuration file that is used by the running WildFly server for the tests.
This is mostly harmless (as these tests should cleaned up any modification when they are teared down) except when WildFly core is changing its schemas and the WildFly integration CI job is checking that WildFly core snapshots behave correctly.
At this point, the WildFly XML configuration files references the latest XML version that is released with Core but the core snapshots introduced more recent versions.
The tests uses the special property jboss.test.xml.validation.future.schemas to ignore the latest schema when using core snapshots.
Unfortunately, the previous smoke tests may have modified the configuration file that will be written with the latest core schema version.
To fix this issue, these 2 tests should be moved to the dist maven module so that they validate the *actual* configuration files shipped with WildFly before any test has an opportunity to modify them.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list