Skip to content

Commit

Permalink
[WFCORE-7093] Upgrade WildFly Legacy Tests to 9.0.0.Final
Browse files Browse the repository at this point in the history
  • Loading branch information
yersan committed Dec 16, 2024
1 parent da6565e commit d87279c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ public static List<TransformersTestParameter> setupVersions(){
//we only test EAP 7.4 and newer
data.add(new TransformersTestParameter(ModelVersion.create(16, 0, 0), ModelTestControllerVersion.EAP_7_4_0));
data.add(new TransformersTestParameter(ModelVersion.create(22, 0, 0), ModelTestControllerVersion.EAP_8_0_0));
// Requires an update of the wildfly legacy test version
// data.add(new TransformersTestParameter(ModelVersion.create(24, 0, 0), ModelTestControllerVersion.WILDFLY_31_0_0));
data.add(new TransformersTestParameter(ModelVersion.create(24, 0, 0), ModelTestControllerVersion.WILDFLY_31_0_0));
return data;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import static org.jboss.as.model.test.FailedOperationTransformationConfig.REJECTED_RESOURCE;
import static org.jboss.as.model.test.ModelTestControllerVersion.EAP_7_4_0;
import static org.jboss.as.model.test.ModelTestControllerVersion.EAP_8_0_0;
import static org.jboss.as.model.test.ModelTestControllerVersion.WILDFLY_31_0_0;
import static org.junit.Assert.assertTrue;
import static org.wildfly.extension.elytron.ElytronDescriptionConstants.TRUST_MANAGER;

Expand Down Expand Up @@ -110,6 +111,11 @@ public void testTransformerEAP800() throws Exception {
testTransformation(EAP_8_0_0);
}

@Test
public void testTransformerWFLY31() throws Exception {
testTransformation(WILDFLY_31_0_0);
}

private KernelServices buildKernelServices(String xml, ModelTestControllerVersion controllerVersion, ModelVersion version, String... mavenResourceURLs) throws Exception {
AdditionalInitialization additionalInitialization = AdditionalInitialization.fromModelTestControllerVersion(controllerVersion);

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<version.org.wildfly.discovery>1.3.0.Final</version.org.wildfly.discovery>
<version.org.wildfly.installation-manager.installation-manager-api>1.1.1.Final</version.org.wildfly.installation-manager.installation-manager-api>
<version.org.wildfly.launcher>1.0.0.Final</version.org.wildfly.launcher>
<version.org.wildfly.legacy.test>8.0.2.Final</version.org.wildfly.legacy.test>
<version.org.wildfly.legacy.test>9.0.0.Final</version.org.wildfly.legacy.test>
<version.org.wildfly.openssl>2.2.5.Final</version.org.wildfly.openssl>
<version.org.wildfly.openssl.natives>2.2.2.Final</version.org.wildfly.openssl.natives>
<version.org.wildfly.openssl.wildfly-openssl-linux-x86_64>2.2.2.SP01</version.org.wildfly.openssl.wildfly-openssl-linux-x86_64>
Expand Down

0 comments on commit d87279c

Please sign in to comment.