Skip to content

Commit 04fda16

Browse files
committed
Set 'optimize' system property value as 'false' to enable soap services in integration tests
1 parent 0855f5e commit 04fda16

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/application/mgt/AbstractIdentityFederationTestCase.java

+1
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ public void initTest() throws Exception {
101101
public void startCarbonServer(int portOffset, AutomationContext context, Map<String, String> startupParameters)
102102
throws Exception {
103103

104+
startupParameters.put("-Doptimize", String.valueOf(false));
104105
automationContextMap.put(portOffset, context);
105106
CarbonTestServerManager server = new CarbonTestServerManager(context, System.getProperty("carbon.zip"),
106107
startupParameters);

modules/integration/tests-integration/tests-backend/src/test/resources/automation.xml

+1
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@
240240
<parameter name="-DportOffset" value="410" />
241241
<parameter name="-Dsetup" value="true"/>
242242
<parameter name="-DenableRemoteShutdownAndRestart" value="true"/>
243+
<parameter name="-Doptimize" value="false"/>
243244
<!--<parameter name="backup-test-pack" value="true"/>-->
244245
<!--<parameter name="backup-location" value="<Absolute path for backup location with trailing foreword slash>"/>-->
245246
<!--<parameter name="cmdArg" value="debug 5005" />-->

0 commit comments

Comments
 (0)