Skip to content

Commit

Permalink
Fix for WFCORE-7098, InstallationManagerBootTestCase shouldn't delete…
Browse files Browse the repository at this point in the history
… module when ts.bootable
  • Loading branch information
jfdenise committed Dec 16, 2024
1 parent d374c2b commit a7eede0
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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();
}
}
}

Expand Down

0 comments on commit a7eede0

Please sign in to comment.