integration-tests/src/test/java/oracle/kubernetes/operator/ItMiiConfigUpdateImage.java
@BeforeEach
  public void prepare() throws Exception {
    createResultAndPvDirs(testClassName);

    // create operator
    if (operator == null) {
      Map<String, Object> operatorMap = createOperatorMap(getNewSuffixCount(),
          true, testClassName);
      operator = TestUtils.createOperator(operatorMap, RestCertType.SELF_SIGNED);
      assertNotNull(operator);
      domainNS = ((ArrayList<String>) operatorMap.get("domainNamespaces")).get(0);
      namespaceList.append((String)operatorMap.get("namespace"));
      namespaceList.append(" ").append(domainNS);
    }
  }
/**
   * This method creates the result/pv root directories for the test.
   * Creates the operator if its not running.
   *
   * @throws Exception if Operator creation fails
   */
This method creates the result/pv root directories for the test.
Creates the operator if its not running.

@throws Exception if Operator creation fails
This method creates the result / pv root directories for the test . Creates the operator if its not running . @throws Exception if Operator creation fails
@BeforeEach
  public void prepare() throws Exception {
    createResultAndPvDirs(testClassName);
    if (operator == null) {
      Map<String, Object> operatorMap = createOperatorMap(getNewSuffixCount(),
          true, testClassName);
      operator = TestUtils.createOperator(operatorMap, RestCertType.SELF_SIGNED);
      assertNotNull(operator);
      domainNS = ((ArrayList<String>) operatorMap.get("domainNamespaces")).get(0);
      namespaceList.append((String)operatorMap.get("namespace"));
      namespaceList.append(" ").append(domainNS);
    }
  }
@ BeforeEach public void prepare ( ) throws Exception { createResultAndPvDirs ( testClassName ) ; if ( operator == null ) { Map < String , Object > operatorMap = createOperatorMap ( getNewSuffixCount ( ) , true , testClassName ) ; operator = TestUtils . createOperator ( operatorMap , RestCertType . SELF_SIGNED ) ; assertNotNull ( operator ) ; domainNS = ( ( ArrayList < String > ) operatorMap . get ( "domainNamespaces" ) ) . get ( 0 ) ; namespaceList . append ( ( String ) operatorMap . get ( "namespace" ) ) ; namespaceList . append ( " " ) . append ( domainNS ) ; } }
This method creates the result/pv root directories for the test.
This method creates the result / pv root directories for the test .
// create operator