Bug 1001918

Summary: Remove version-number references from testsuite XSL files
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Joe Wertz <ewertz>
Component: TestsuiteAssignee: jboss-set
Status: CLOSED CURRENTRELEASE QA Contact: Petr Kremensky <pkremens>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.2.0, 6.2.1, 6.3.0, 6.2.2, 6.2.3, 6.2.4CC: cdewolf, dosoudil, kkhan, pkremens
Target Milestone: DR1   
Target Release: EAP 6.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Joe Wertz 2013-08-28 06:41:29 UTC
Version numbers used in testsuite configuration files requires frequent manual changes. 

This recently disabled the -Dtrace= command because logging was upgraded. https://bugzilla.redhat.com/show_bug.cgi?id=978130

Using a different method to match XML tags in the XSL files makes them version-independent and reduces maintenance on the testsuite.

Comment 3 Pavel Jelinek 2013-10-07 11:52:58 UTC
Performed changes are ok, but there are still some XSL files with version numbers in jboss-eap-6.2-src/testsuite/integration/src/test/xslt directory: 

addCacheContainer.xsl
changeDatabase.xsl
enableJmxNonCoreMbeansSensitivity.xsl
enableRbac.xsl
passwdMaskConfig.xsl
putVaultExpressionIntoOrdinaryAttribute.xsl
setupRbacRolesMappingTests.xsl

Comment 6 Joe Wertz 2014-08-28 10:27:47 UTC
Updating for 6.4.0.

There are a few xsl files that are not used anymore and some RBAC files that are new. I'll make a list of unused files and update the RBAC files by next week.

Comment 7 Joe Wertz 2014-09-04 09:25:26 UTC
After reviewing, I believe there are three files that aren't currently being used.

addCacheContainer.xsl - This contains and old version of infinispan, 1.3 instead of the current 1.5, and because of that version mismatch has been broken for some time. As it seems to cause no errors I'm leaving it disabled.

changeDatabase.xsl - Same as the addCacheContainer, this has an old version of datasources, 1.1 instead of 1.2. Also can't find where/how this is used in tests.

changeModule.xsl, and corresponding module.xml - Contains an old module version and according to comments seems to be associated with changeDatabase. Can't find where/how it's used either.

The other files are changed in the PR.

https://github.com/jbossas/jboss-eap/pull/1647