Skip to content

Commit

Permalink
Increase timeout for api deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
pubudu538 committed Feb 28, 2024
1 parent 39ac4e7 commit ea9675b
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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\""

Expand Down Expand Up @@ -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\""
Expand All @@ -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

Expand Down

0 comments on commit ea9675b

Please sign in to comment.