From 4774fff6b38c1131169377af40f34d82a6e4b0d3 Mon Sep 17 00:00:00 2001 From: Brian Stansberry Date: Wed, 12 Apr 2023 15:32:12 -0500 Subject: [PATCH] [WFLY-17885] Work around DeploymentModulesListTestCase's use of the org.hibernate:6.0 module as test data --- .../moduleslisting/DeploymentModulesListTestCase.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/deployment/moduleslisting/DeploymentModulesListTestCase.java b/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/deployment/moduleslisting/DeploymentModulesListTestCase.java index d4771996c117..d0cc60f91111 100644 --- a/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/deployment/moduleslisting/DeploymentModulesListTestCase.java +++ b/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/deployment/moduleslisting/DeploymentModulesListTestCase.java @@ -59,7 +59,7 @@ public class DeploymentModulesListTestCase { private static final String INNER_WAR_ARCHIVE_NAME = "list-modules.war"; private static final String EAR_DEPLOYMENT_NAME = "list-modules-ear-test.ear"; private static final String USER_MODULE = "org.hibernate"; - private static final String CUSTOM_SLOT = "6.0"; + private static final String CUSTOM_SLOT = "main"; // TODO WFLY-17891 install a TestModule with a non-main slot @ContainerResource private static ManagementClient managementClient; @@ -121,7 +121,8 @@ private void listEarModules(boolean verbose) throws Throwable { // check module presence assertTrue(checkModulesListPresence(operationResult, "deployment." + EAR_DEPLOYMENT_NAME)); // check user defined module with custom slot - assertTrue(checkModulesListPresence(operationResult, USER_MODULE + ":" + CUSTOM_SLOT)); + // TODO WFLY-17891 install a TestModule with a non-main slot + assertTrue(checkModulesListPresence(operationResult, USER_MODULE /*+ ":" + CUSTOM_SLOT*/)); // check module absence assertFalse(checkModulesListPresence(operationResult, EXAMPLE_MODULE_TO_EXCLUDE)); // check system and user dependencies presence