integration-tests/src/test/java/oracle/kubernetes/operator/utils/Domain.java
public void verifyPodsCreated(int maxIterations) throws Exception {
    // check admin pod
    LoggerHelper.getLocal().log(Level.INFO,
        "Checking if admin pod(" + domainUid + "-" + adminServerName + ") is Created");
    TestUtils.checkPodCreated(domainUid + "-" + adminServerName, domainNS, maxIterations);

    if (!serverStartPolicy.equals("ADMIN_ONLY")) {
      // check managed server pods
      for (int i = 1; i <= initialManagedServerReplicas; i++) {
        LoggerHelper.getLocal().log(Level.INFO,
            "Checking if managed pod("
                + domainUid
                + "-"
                + managedServerNameBase
                + i
                + ") is Created");
        TestUtils.checkPodCreated(domainUid + "-" + managedServerNameBase + i, domainNS, maxIterations);
      }
    }
  }
/**
   * Verify pods are created.
   *
   * @param maxIterations max iteration count
   * @throws RuntimeException if pod is not in running state
   */
Verify pods are created.
@param maxIterations max iteration count
@throws RuntimeException if pod is not in running state
Verify pods are created . @param maxIterations max iteration count @throws RuntimeException if pod is not in running state
public void verifyPodsCreated(int maxIterations) throws Exception {
    LoggerHelper.getLocal().log(Level.INFO,
        "Checking if admin pod(" + domainUid + "-" + adminServerName + ") is Created");
    TestUtils.checkPodCreated(domainUid + "-" + adminServerName, domainNS, maxIterations);
    if (!serverStartPolicy.equals("ADMIN_ONLY")) {
      for (int i = 1; i <= initialManagedServerReplicas; i++) {
        LoggerHelper.getLocal().log(Level.INFO,
            "Checking if managed pod("
                + domainUid
                + "-"
                + managedServerNameBase
                + i
                + ") is Created");
        TestUtils.checkPodCreated(domainUid + "-" + managedServerNameBase + i, domainNS, maxIterations);
      }
    }
  }
public void verifyPodsCreated ( int maxIterations ) throws Exception { LoggerHelper . getLocal ( ) . log ( Level . INFO , "Checking if admin pod(" + domainUid + "-" + adminServerName + ") is Created" ) ; TestUtils . checkPodCreated ( domainUid + "-" + adminServerName , domainNS , maxIterations ) ; if ( ! serverStartPolicy . equals ( "ADMIN_ONLY" ) ) { for ( int i = 1 ; i <= initialManagedServerReplicas ; i ++ ) { LoggerHelper . getLocal ( ) . log ( Level . INFO , "Checking if managed pod(" + domainUid + "-" + managedServerNameBase + i + ") is Created" ) ; TestUtils . checkPodCreated ( domainUid + "-" + managedServerNameBase + i , domainNS , maxIterations ) ; } } }
Verify pods are created.
Verify pods are created .
// check admin pod // check managed server pods