Skip to content

Commit

Permalink
Merge pull request #2647 from suksw/env-test
Browse files Browse the repository at this point in the history
int-test: Fix intermittent test failure when undeploying API
  • Loading branch information
renuka-fernando authored Feb 1, 2022
2 parents ad5562f + 844733e commit 0c4b00e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public void invokeAPI() throws CCTestException, IOException {
// Undeploy the API from specific environment
ApictlUtils.undeployAPI("SwaggerPetstoreDeploy", "1.0.5", "test2", "localhost",
"Default");
response = HttpsClientRequest.doGet(Utils.getServiceURLHttps(
response = HttpsClientRequest.retryUntil404(Utils.getServiceURLHttps(
"/v2/new/pet/findByStatus?status=available") , headers);
Assert.assertNotNull(response);
Assert.assertEquals(response.getResponseCode(), HttpStatus.SC_NOT_FOUND,"Response code mismatched " +
Expand Down

0 comments on commit 0c4b00e

Please sign in to comment.