integration-tests/src/test/java/oracle/kubernetes/operator/ItOperatorUpgrade.java
private void uninstallAndInstallNewVersionOperatorAndVerify() throws Exception {
    operator.destroy();
    Map<String, Object> operatorMap = createOperatorMap(getNewSuffixCount(), true, "");
    operatorMap.put("namespace", OP_NS + "-1");
    operatorMap.put("releaseName", OP_DEP_NAME);
    operatorMap.put("serviceAccount", OP_SA);
    operatorMap.put("externalRestEnabled", true);
    operatorMap.put("javaLoggingLevel", "FINE");
    namespaceList.append(" ").append(OP_NS + "-1");
    List<String> domNs = new ArrayList<String>();
    domNs.add(DOM_NS);
    operatorMap.put("domainNamespaces", domNs);
    operator = TestUtils.createOperator(operatorMap, Operator.RestCertType.LEGACY);

    checkCrdVersion();
    testClusterScaling(operator, domain, false);
  }
/**
   * Upgrades operator to develop branch by uninstalling old release operator
   * and installing latest operator.
   * @throws Exception when upgrade fails or basic usecase testing or scaling fails.
   */
Upgrades operator to develop branch by uninstalling old release operator
and installing latest operator.
@throws Exception when upgrade fails or basic usecase testing or scaling fails.
Upgrades operator to develop branch by uninstalling old release operator and installing latest operator . @throws Exception when upgrade fails or basic usecase testing or scaling fails .
private void uninstallAndInstallNewVersionOperatorAndVerify() throws Exception {
    operator.destroy();
    Map<String, Object> operatorMap = createOperatorMap(getNewSuffixCount(), true, "");
    operatorMap.put("namespace", OP_NS + "-1");
    operatorMap.put("releaseName", OP_DEP_NAME);
    operatorMap.put("serviceAccount", OP_SA);
    operatorMap.put("externalRestEnabled", true);
    operatorMap.put("javaLoggingLevel", "FINE");
    namespaceList.append(" ").append(OP_NS + "-1");
    List<String> domNs = new ArrayList<String>();
    domNs.add(DOM_NS);
    operatorMap.put("domainNamespaces", domNs);
    operator = TestUtils.createOperator(operatorMap, Operator.RestCertType.LEGACY);
    checkCrdVersion();
    testClusterScaling(operator, domain, false);
  }
private void uninstallAndInstallNewVersionOperatorAndVerify ( ) throws Exception { operator . destroy ( ) ; Map < String , Object > operatorMap = createOperatorMap ( getNewSuffixCount ( ) , true , "" ) ; operatorMap . put ( "namespace" , OP_NS + "-1" ) ; operatorMap . put ( "releaseName" , OP_DEP_NAME ) ; operatorMap . put ( "serviceAccount" , OP_SA ) ; operatorMap . put ( "externalRestEnabled" , true ) ; operatorMap . put ( "javaLoggingLevel" , "FINE" ) ; namespaceList . append ( " " ) . append ( OP_NS + "-1" ) ; List < String > domNs = new ArrayList < String > ( ) ; domNs . add ( DOM_NS ) ; operatorMap . put ( "domainNamespaces" , domNs ) ; operator = TestUtils . createOperator ( operatorMap , Operator . RestCertType . LEGACY ) ; checkCrdVersion ( ) ; testClusterScaling ( operator , domain , false ) ; }
Upgrades operator to develop branch by uninstalling old release operator
 and installing latest operator.
Upgrades operator to develop branch by uninstalling old release operator and installing latest operator .