From 3ae5ed8bf7eabbc9b237698020f5027f13149114 Mon Sep 17 00:00:00 2001 From: Anuradha Karunarathna Date: Wed, 23 Mar 2022 02:12:58 +0530 Subject: [PATCH] Set -DenableRemoteShutdownAndRestart param true for secondary IS startup --- .../test/base/SecondaryCarbonServerInitializerTestCase.java | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/base/SecondaryCarbonServerInitializerTestCase.java b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/base/SecondaryCarbonServerInitializerTestCase.java index 2a7178118ec..058a44599e0 100644 --- a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/base/SecondaryCarbonServerInitializerTestCase.java +++ b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/base/SecondaryCarbonServerInitializerTestCase.java @@ -56,6 +56,7 @@ public void initTest() throws Exception { TestDataHolder testDataHolder = TestDataHolder.getInstance(); Map startupParameters = new HashMap<>(); startupParameters.put("-DportOffset", String.valueOf(PORT_OFFSET_1 + CommonConstants.IS_DEFAULT_OFFSET)); + startupParameters.put("-DenableRemoteShutdownAndRestart", String.valueOf(true)); testDataHolder.setAutomationContext(new AutomationContext("IDENTITY", "identity002", TestUserMode .SUPER_TENANT_ADMIN)); startCarbonServer(PORT_OFFSET_1, testDataHolder.getAutomationContext(), startupParameters);