Skip to content

Commit

Permalink
Merge pull request #3194 from pubudu538/timeout-fix
Browse files Browse the repository at this point in the history
Increasing waiting time for the restart
  • Loading branch information
pubudu538 authored Jan 14, 2023
2 parents 0e995fc + 799b5f0 commit c1d3a75
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit c1d3a75

Please sign in to comment.