From 799b5f04ed24b8dda1b3bb76f348b485454d0814 Mon Sep 17 00:00:00 2001 From: Pubudu Gunatilaka Date: Sat, 14 Jan 2023 10:39:57 +0530 Subject: [PATCH] Increasing waiting time for the restart --- .../connect/tests/setup/withapim/ApimRestartExecutor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/test-integration/src/test/java/org/wso2/choreo/connect/tests/setup/withapim/ApimRestartExecutor.java b/integration/test-integration/src/test/java/org/wso2/choreo/connect/tests/setup/withapim/ApimRestartExecutor.java index 4cf8bbfd00..c4209df121 100644 --- a/integration/test-integration/src/test/java/org/wso2/choreo/connect/tests/setup/withapim/ApimRestartExecutor.java +++ b/integration/test-integration/src/test/java/org/wso2/choreo/connect/tests/setup/withapim/ApimRestartExecutor.java @@ -47,7 +47,7 @@ public void restartApim() throws CCTestException, IOException { apimInstance.startAPIM(); ccInstance.start(); Awaitility.await().pollDelay(1, TimeUnit.MINUTES).pollInterval(5, TimeUnit.SECONDS) - .atMost(3, TimeUnit.MINUTES).until(ccInstance.isHealthy()); + .atMost(4, TimeUnit.MINUTES).until(ccInstance.isHealthy()); Assert.assertTrue(ccInstance.checkCCInstanceHealth()); Utils.delay(TestConstant.DEPLOYMENT_WAIT_TIME, "Interrupted while waiting for " + "resources to be pulled from API Manager");