From 927e3bb35364572723d196f5c8982e81ae08b5e1 Mon Sep 17 00:00:00 2001 From: Ace Date: Sat, 1 Jun 2019 22:21:06 +0530 Subject: [PATCH] increasing sever startup wait time in integration tests --- .../common/extensions/CarbonServerManagerExtension.java | 2 +- .../tests-integration/src/test/resources/automation.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/integration/tests-common/integration-common/src/main/java/org/wso2/iot/integration/common/extensions/CarbonServerManagerExtension.java b/modules/integration/tests-common/integration-common/src/main/java/org/wso2/iot/integration/common/extensions/CarbonServerManagerExtension.java index 154205b1..59545263 100644 --- a/modules/integration/tests-common/integration-common/src/main/java/org/wso2/iot/integration/common/extensions/CarbonServerManagerExtension.java +++ b/modules/integration/tests-common/integration-common/src/main/java/org/wso2/iot/integration/common/extensions/CarbonServerManagerExtension.java @@ -57,7 +57,7 @@ public class CarbonServerManagerExtension { private int portOffset = 0; private static final String SERVER_SHUTDOWN_MESSAGE = "Halting JVM"; private static final String SERVER_STARTUP_MESSAGE = "Mgt Console URL"; - private static final long DEFAULT_START_STOP_WAIT_MS = 400000L; + private static final long DEFAULT_START_STOP_WAIT_MS = 900000L; private static final String CMD_ARG = "cmdArg"; private static int defaultHttpPort = Integer.parseInt("9763"); private static int defaultHttpsPort = Integer.parseInt("9443"); diff --git a/modules/integration/tests-integration/src/test/resources/automation.xml b/modules/integration/tests-integration/src/test/resources/automation.xml index d516be3b..0e5fe5a9 100644 --- a/modules/integration/tests-integration/src/test/resources/automation.xml +++ b/modules/integration/tests-integration/src/test/resources/automation.xml @@ -24,7 +24,7 @@ - 900000 + 100000