integration-tests/src/test/java/oracle/kubernetes/operator/utils/K8sTestUtils.java
public void verifyJobs(String labelSelectors, int expected) throws Exception {
    V1JobList v1JobList =
        batchV1Api.listJobForAllNamespaces(
            Boolean.FALSE,
            null,
            null,
            labelSelectors,
            null,
            Boolean.FALSE.toString(),
            null,
            null,
            Boolean.FALSE);
    // TODO verify name pattern "{domainUID}-create-weblogic-sample-domain-job"
    assertEquals(v1JobList.getItems().size(), expected, "Number of jobs");
  }
/**
   * verify jobs.
   * @param labelSelectors label selectors
   * @param expected expected count
   * @throws Exception on failure
   */
verify jobs.
@param labelSelectors label selectors
@param expected expected count
@throws Exception on failure
verify jobs . @param labelSelectors label selectors @param expected expected count @throws Exception on failure
public void verifyJobs(String labelSelectors, int expected) throws Exception {
    V1JobList v1JobList =
        batchV1Api.listJobForAllNamespaces(
            Boolean.FALSE,
            null,
            null,
            labelSelectors,
            null,
            Boolean.FALSE.toString(),
            null,
            null,
            Boolean.FALSE);
    assertEquals(v1JobList.getItems().size(), expected, "Number of jobs");
  }
public void verifyJobs ( String labelSelectors , int expected ) throws Exception { V1JobList v1JobList = batchV1Api . listJobForAllNamespaces ( Boolean . FALSE , null , null , labelSelectors , null , Boolean . FALSE . toString ( ) , null , null , Boolean . FALSE ) ; assertEquals ( v1JobList . getItems ( ) . size ( ) , expected , "Number of jobs" ) ; }
verify jobs.
verify jobs .
// TODO verify name pattern "{domainUID}-create-weblogic-sample-domain-job"