integration-tests/src/test/java/oracle/kubernetes/operator/utils/K8sTestUtils.java
public void verifyPods(String namespace, String labelSelectors, int expected) throws Exception {
    V1PodList v1PodList =
        coreV1Api.listNamespacedPod(
            namespace,
            Boolean.FALSE.toString(),
            Boolean.FALSE,
            null,
            null,
            labelSelectors,
            null,
            null,
            null,
            Boolean.FALSE);
    // 1 AS, 2 MS', 1 job
    // TODO verify {domainUID}-admin-server, {domainUID}-managed-server#.
    assertEquals(v1PodList.getItems().size(), expected, "Number of Pods");
  }
/**
   * verify pods.
   * @param namespace namespace
   * @param labelSelectors label selectors
   * @param expected expected count
   * @throws Exception on failure
   */
verify pods.
@param namespace namespace
@param labelSelectors label selectors
@param expected expected count
@throws Exception on failure
verify pods . @param namespace namespace @param labelSelectors label selectors @param expected expected count @throws Exception on failure
public void verifyPods(String namespace, String labelSelectors, int expected) throws Exception {
    V1PodList v1PodList =
        coreV1Api.listNamespacedPod(
            namespace,
            Boolean.FALSE.toString(),
            Boolean.FALSE,
            null,
            null,
            labelSelectors,
            null,
            null,
            null,
            Boolean.FALSE);
    assertEquals(v1PodList.getItems().size(), expected, "Number of Pods");
  }
public void verifyPods ( String namespace , String labelSelectors , int expected ) throws Exception { V1PodList v1PodList = coreV1Api . listNamespacedPod ( namespace , Boolean . FALSE . toString ( ) , Boolean . FALSE , null , null , labelSelectors , null , null , null , Boolean . FALSE ) ; assertEquals ( v1PodList . getItems ( ) . size ( ) , expected , "Number of Pods" ) ; }
verify pods.
verify pods .
// 1 AS, 2 MS', 1 job // TODO verify {domainUID}-admin-server, {domainUID}-managed-server#.