new-integration-tests/src/test/java/oracle/weblogic/kubernetes/ItOperatorTwoDomains.java
private void scaleDomain1AndVerifyNoImpactOnDomain2() {

    // scale domain1
    logger.info("Scaling cluster {0} of domain {1} in namespace {2} to {3} servers.",
        clusterName, domain1Uid, domain1Namespace, replicasAfterScale);
    scaleAndVerifyCluster(clusterName, domain1Uid, domain1Namespace,
        domain1Uid + "-" + MANAGED_SERVER_NAME_BASE, replicaCount, replicasAfterScale,
        null, null);

    // add the third managed server pod original creation timestamp to the list
    domain1ManagedServerPodOriginalTimestampList.add(
        getPodCreationTime(domain1Namespace, domain1Uid + "-" + MANAGED_SERVER_NAME_BASE + replicasAfterScale));

    // verify scaling domain1 has no impact on domain2
    logger.info("Checking that domain2 was not changed after domain1 was scaled up");
    verifyDomain2NotChanged();
  }
/**
   * Scale domain1 and verify there is no impact on domain2.
   */
Scale domain1 and verify there is no impact on domain2.
Scale domain1 and verify there is no impact on domain2 .
private void scaleDomain1AndVerifyNoImpactOnDomain2() {
    logger.info("Scaling cluster {0} of domain {1} in namespace {2} to {3} servers.",
        clusterName, domain1Uid, domain1Namespace, replicasAfterScale);
    scaleAndVerifyCluster(clusterName, domain1Uid, domain1Namespace,
        domain1Uid + "-" + MANAGED_SERVER_NAME_BASE, replicaCount, replicasAfterScale,
        null, null);
    domain1ManagedServerPodOriginalTimestampList.add(
        getPodCreationTime(domain1Namespace, domain1Uid + "-" + MANAGED_SERVER_NAME_BASE + replicasAfterScale));
    logger.info("Checking that domain2 was not changed after domain1 was scaled up");
    verifyDomain2NotChanged();
  }
private void scaleDomain1AndVerifyNoImpactOnDomain2 ( ) { logger . info ( "Scaling cluster {0} of domain {1} in namespace {2} to {3} servers." , clusterName , domain1Uid , domain1Namespace , replicasAfterScale ) ; scaleAndVerifyCluster ( clusterName , domain1Uid , domain1Namespace , domain1Uid + "-" + MANAGED_SERVER_NAME_BASE , replicaCount , replicasAfterScale , null , null ) ; domain1ManagedServerPodOriginalTimestampList . add ( getPodCreationTime ( domain1Namespace , domain1Uid + "-" + MANAGED_SERVER_NAME_BASE + replicasAfterScale ) ) ; logger . info ( "Checking that domain2 was not changed after domain1 was scaled up" ) ; verifyDomain2NotChanged ( ) ; }
Scale domain1 and verify there is no impact on domain2.
Scale domain1 and verify there is no impact on domain2 .
// scale domain1 // add the third managed server pod original creation timestamp to the list // verify scaling domain1 has no impact on domain2