@@ -320,22 +320,23 @@ public void testClusterScaling(Operator operator, Domain domain) throws Exceptio
320320
321321 // make sure cluster service endpoint is updated with the scaled up servers before verifying
322322 // load balancing
323- // int i = 0;
324- // while (i < BaseTest.getMaxIterationsPod()) {
325- // int numberOfServersInEndpoint =
326- // domain.getNumberOfServersInClusterServiceEndpoint((String) domainMap.get("clusterName"));
327- // if (replicaCnt != numberOfServersInEndpoint) {
328- // // check for last iteration
329- // if (i == (BaseTest.getMaxIterationsPod() - 1)) {
330- // throw new RuntimeException("FAILURE: Cluster Serice Endpoint is not updated");
331- // }
332- // Thread.sleep(BaseTest.getWaitTimePod() * 1000);
333- // i++;
334- // } else {
335- // logger.info("Number of servers addresses in endpoint is same as replica count ");
336- // break;
337- // }
338- // }
323+ // int i = 0;
324+ // while (i < BaseTest.getMaxIterationsPod()) {
325+ // int numberOfServersInEndpoint =
326+ // domain.getNumberOfServersInClusterServiceEndpoint((String)
327+ // domainMap.get("clusterName"));
328+ // if (replicaCnt != numberOfServersInEndpoint) {
329+ // // check for last iteration
330+ // if (i == (BaseTest.getMaxIterationsPod() - 1)) {
331+ // throw new RuntimeException("FAILURE: Cluster Serice Endpoint is not updated");
332+ // }
333+ // Thread.sleep(BaseTest.getWaitTimePod() * 1000);
334+ // i++;
335+ // } else {
336+ // logger.info("Number of servers addresses in endpoint is same as replica count ");
337+ // break;
338+ // }
339+ // }
339340 // commenting the load balance check, bug 29325139
340341 // domain.verifyWebAppLoadBalancing(TESTWEBAPP);
341342
0 commit comments