From d1cee8549e79ec0e9a3a16404caa571959b8e481 Mon Sep 17 00:00:00 2001 From: tgtshanika Date: Tue, 10 Oct 2023 11:52:33 +0530 Subject: [PATCH] Add waitforDeployment for websub test case --- .../tests/streamingapis/websub/WebSubAPITestCase.java | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/streamingapis/websub/WebSubAPITestCase.java b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/streamingapis/websub/WebSubAPITestCase.java index 5dd4c436b4..0d8125ef35 100644 --- a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/streamingapis/websub/WebSubAPITestCase.java +++ b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/streamingapis/websub/WebSubAPITestCase.java @@ -336,6 +336,7 @@ public void testSubscriberVerification() throws Exception { apiDto.setEnableSubscriberVerification(true); restAPIPublisher.updateAPI(apiDto, apiId); createAPIRevisionAndDeployUsingRest(apiId, restAPIPublisher); + waitForAPIDeployment(); waitForAPIDeploymentSync(user.getUserName(), apiName, apiVersion, APIMIntegrationConstants.IS_API_EXISTS); callbackServerServlet.setCallbacksReceived(0);