From 8ecd63f003e09ccd8c12c748d7743000e33467be Mon Sep 17 00:00:00 2001 From: Pubudu Gunatilaka Date: Tue, 27 Feb 2024 11:17:39 +0530 Subject: [PATCH] Increase timeout for api deployment --- .../resources/tests/api/SemanticVersioning.feature | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/cucumber-tests/src/test/resources/tests/api/SemanticVersioning.feature b/test/cucumber-tests/src/test/resources/tests/api/SemanticVersioning.feature index e7555f7635..6aa4ca1d2a 100644 --- a/test/cucumber-tests/src/test/resources/tests/api/SemanticVersioning.feature +++ b/test/cucumber-tests/src/test/resources/tests/api/SemanticVersioning.feature @@ -43,13 +43,13 @@ Feature: Semantic Versioning Based Intelligent Routing When I undeploy the API whose ID is "sem-api-v1-5" Then the response status code should be 202 - And I wait for 1 seconds + And I wait for 2 seconds And I send "GET" request to "https://default.gw.wso2.com:9095/sem-api/v1/employee/" with body "" And the response body should contain "\"version\":\"v1.1\"" When I undeploy the API whose ID is "sem-api-v1-1" Then the response status code should be 202 - And I wait for 1 seconds + And I wait for 2 seconds And I send "GET" request to "https://default.gw.wso2.com:9095/sem-api/v1/employee/" with body "" And the response body should contain "\"version\":\"v1.0\"" @@ -80,7 +80,7 @@ Feature: Semantic Versioning Based Intelligent Routing When I undeploy the API whose ID is "sem-api-v1-1" Then the response status code should be 202 - And I wait for 1 seconds + And I wait for 2 seconds And I send "GET" request to "https://default.gw.wso2.com:9095/sem-api/v1/employee/" with body "" Then the response status code should be 200 And the response body should contain "\"version\":\"v1.5\"" @@ -99,14 +99,14 @@ Feature: Semantic Versioning Based Intelligent Routing When I undeploy the API whose ID is "sem-api-v1-0" Then the response status code should be 202 - And I wait for 1 seconds + And I wait for 2 seconds And I send "GET" request to "https://default.gw.wso2.com:9095/sem-api/v1/employee/" with body "" Then the response status code should be 200 And the response body should contain "\"version\":\"v1.5\"" When I undeploy the API whose ID is "sem-api-v1-5" Then the response status code should be 202 - And I wait for 1 seconds + And I wait for 2 seconds And I send "GET" request to "https://default.gw.wso2.com:9095/sem-api/v1/employee/" with body "" Then the response status code should be 404