integration-tests/src/test/java/oracle/kubernetes/operator/utils/TestUtils.java
public static void checkPodCreated(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 pod to be running
    checkCmdInLoop(cmd.toString(), "Running", podName, maxIterations);
  }
/**
   * Checks that pod is created.
   *
   * @param podName  - pod name
   * @param domainNS - domain namespace name
   * @param maxIterations max iterations count
   * @throws Exception RuntimeException if pod is not in Running state 
   */
Checks that pod is created.
@param podName  - pod name
@param domainNS - domain namespace name
@param maxIterations max iterations count
@throws Exception RuntimeException if pod is not in Running state
Checks that pod is created . @param podName - pod name @param domainNS - domain namespace name @param maxIterations max iterations count @throws Exception RuntimeException if pod is not in Running state
public static void checkPodCreated(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(), "Running", podName, maxIterations);
  }
public static void checkPodCreated ( 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 ( ) , "Running" , podName , maxIterations ) ; }
Checks that pod is created.
Checks that pod is created .
// check for pod to be running