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 ca0da6232fd..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 @@ -16,6 +16,7 @@ import org.jboss.as.controller.client.ModelControllerClient; import org.jboss.as.test.integration.management.util.ServerReload; import org.jboss.as.test.module.util.TestModule; +import org.jboss.as.test.shared.AssumeTestGroupUtil; import org.jboss.as.test.shared.TestSuiteEnvironment; import org.jboss.as.test.shared.logging.TestLogHandlerSetupTask; import org.jboss.shrinkwrap.api.asset.StringAsset; @@ -65,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(); + } } }