From 913f86c3ef996f23371c009ceca2fada0ca8e9d6 Mon Sep 17 00:00:00 2001 From: Jean-Francois Denise Date: Fri, 20 Dec 2024 12:18:37 +0100 Subject: [PATCH] Fix for WFCORE-7098, InstallationManagerBootTestCase shouldn't delete module when ts.bootable --- .../provisioning/InstallationManagerBootTestCase.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/testsuite/manualmode/src/test/java/org/jboss/as/test/manualmode/provisioning/InstallationManagerBootTestCase.java b/testsuite/manualmode/src/test/java/org/jboss/as/test/manualmode/provisioning/InstallationManagerBootTestCase.java index 80486532ec9..fd2f57c3739 100644 --- a/testsuite/manualmode/src/test/java/org/jboss/as/test/manualmode/provisioning/InstallationManagerBootTestCase.java +++ b/testsuite/manualmode/src/test/java/org/jboss/as/test/manualmode/provisioning/InstallationManagerBootTestCase.java @@ -66,7 +66,10 @@ public static void createTestModule() throws IOException { public static void removeTestModule() { if (testModule != null) { controller.stop(); - testModule.remove(); + // Bootable JAR fully delete the installation + if (!AssumeTestGroupUtil.isBootableJar()) { + testModule.remove(); + } } }