integration-tests/src/test/java/oracle/kubernetes/operator/ItManagedCoherence.java
private static void verifyServersStatus(Domain domain, String[] pods, String domainUid) {
    K8sTestUtils testUtil = new K8sTestUtils();
    String domain1LabelSelector = String.format("weblogic.domainUID in (%s)", domainUid);
    String namespace = domain.getDomainNs();
    for (String pod : pods) {
      LoggerHelper.getLocal().log(Level.INFO, "Checking if pod " + pod + " is running");
      assertTrue(
          testUtil.isPodRunning(namespace, domain1LabelSelector, pod), pod + " Pod not running");
      //pod + " Pod not running", testUtil.isPodRunning(namespace, domain1LabelSelector, pod));
    }
  }
/**
   * Verifies all of the servers in the cluster are in Running status.
   *
   * @param domain    Domain
   * @param pods      array pod names to check the status for
   * @param domainUid Domain UID
   */
Verifies all of the servers in the cluster are in Running status.
@param domain    Domain
@param pods      array pod names to check the status for
@param domainUid Domain UID
Verifies all of the servers in the cluster are in Running status . @param domain Domain @param pods array pod names to check the status for @param domainUid Domain UID
private static void verifyServersStatus(Domain domain, String[] pods, String domainUid) {
    K8sTestUtils testUtil = new K8sTestUtils();
    String domain1LabelSelector = String.format("weblogic.domainUID in (%s)", domainUid);
    String namespace = domain.getDomainNs();
    for (String pod : pods) {
      LoggerHelper.getLocal().log(Level.INFO, "Checking if pod " + pod + " is running");
      assertTrue(
          testUtil.isPodRunning(namespace, domain1LabelSelector, pod), pod + " Pod not running");
    }
  }
private static void verifyServersStatus ( Domain domain , String [ ] pods , String domainUid ) { K8sTestUtils testUtil = new K8sTestUtils ( ) ; String domain1LabelSelector = String . format ( "weblogic.domainUID in (%s)" , domainUid ) ; String namespace = domain . getDomainNs ( ) ; for ( String pod : pods ) { LoggerHelper . getLocal ( ) . log ( Level . INFO , "Checking if pod " + pod + " is running" ) ; assertTrue ( testUtil . isPodRunning ( namespace , domain1LabelSelector , pod ) , pod + " Pod not running" ) ; } }
Verifies all of the servers in the cluster are in Running status.
Verifies all of the servers in the cluster are in Running status .
//pod + " Pod not running", testUtil.isPodRunning(namespace, domain1LabelSelector, pod));