integration-tests/src/test/java/oracle/kubernetes/operator/utils/TestUtils.java
public static void checkPodReady(String podName, String domainNS, int maxIterations) throws Exception {
    StringBuffer cmd = new StringBuffer();
    cmd.append("kubectl get pod ").append(podName).append(" -n ").append(domainNS);

    // check for admin pod
    checkCmdInLoop(cmd.toString(), "1/1", podName, maxIterations);
  }
/**
   * Checks if pod is ready.
   *
   * @param podName  pod name
   * @param domainNS namespace
   * @param maxIterations  max iterations count
   * @throws RuntimeException if pod is not ready and output doesn't contain 1/1
   */
Checks if pod is ready.
@param podName  pod name
@param domainNS namespace
@param maxIterations  max iterations count
@throws RuntimeException if pod is not ready and output doesn't contain 1/1
Checks if pod is ready . @param podName pod name @param domainNS namespace @param maxIterations max iterations count @throws RuntimeException if pod is not ready and output doesn ' t contain 1 / 1
public static void checkPodReady(String podName, String domainNS, int maxIterations) throws Exception {
    StringBuffer cmd = new StringBuffer();
    cmd.append("kubectl get pod ").append(podName).append(" -n ").append(domainNS);
    checkCmdInLoop(cmd.toString(), "1/1", podName, maxIterations);
  }
public static void checkPodReady ( String podName , String domainNS , int maxIterations ) throws Exception { StringBuffer cmd = new StringBuffer ( ) ; cmd . append ( "kubectl get pod " ) . append ( podName ) . append ( " -n " ) . append ( domainNS ) ; checkCmdInLoop ( cmd . toString ( ) , "1/1" , podName , maxIterations ) ; }
Checks if pod is ready.
Checks if pod is ready .
// check for admin pod