Skip to content

Commit a7c0357

Browse files
committed
get replica cnt for load balance check
1 parent fae8366 commit a7c0357

File tree

1 file changed

+1
-1
lines changed
  • integration-tests/src/test/java/oracle/kubernetes/operator/utils

1 file changed

+1
-1
lines changed

integration-tests/src/test/java/oracle/kubernetes/operator/utils/Domain.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ private void callWebAppAndWaitTillReady(String curlCmd) throws Exception {
466466
private void callWebAppAndCheckForServerNameInResponse(String curlCmd) throws Exception {
467467
// map with server names and boolean values
468468
HashMap<String, Boolean> managedServers = new HashMap<String, Boolean>();
469-
for (int i = 1; i <= initialManagedServerReplicas; i++) {
469+
for (int i = 1; i <= TestUtils.getClusterReplicas(domainUid, clusterName, domainNS); i++) {
470470
managedServers.put(domainUid + "-" + managedServerNameBase + i, new Boolean(false));
471471
}
472472

0 commit comments

Comments
 (0)