new-integration-tests/src/test/java/oracle/weblogic/kubernetes/ItOperatorTwoDomains.java
private void verifyDomain2NotChanged() {
    String domain2AdminServerPodName = domainAdminServerPodNames.get(1);

    logger.info("Checking that domain2 admin server pod state was not changed");
    assertThat(podStateNotChanged(domain2AdminServerPodName, domain2Uid, domain2Namespace,
        domainAdminPodOriginalTimestamps.get(1)))
        .as("Test state of pod {0} was not changed in namespace {1}",
            domain2AdminServerPodName, domain2Namespace)
        .withFailMessage("State of pod {0} was changed in namespace {1}",
            domain2AdminServerPodName, domain2Namespace)
        .isTrue();

    logger.info("Checking that domain2 managed server pods states were not changed");
    for (int i = 1; i <= replicaCount; i++) {
      String managedServerPodName = domain2Uid + "-" + MANAGED_SERVER_NAME_BASE + i;
      assertThat(podStateNotChanged(managedServerPodName, domain2Uid, domain2Namespace,
          domain2ManagedServerPodOriginalTimestampList.get(i - 1)))
          .as("Test state of pod {0} was not changed in namespace {1}",
              managedServerPodName, domain2Namespace)
          .withFailMessage("State of pod {0} was changed in namespace {1}",
              managedServerPodName, domain2Namespace)
          .isTrue();
    }
  }
/**
   * Verify domain2 server pods were not changed.
   */
Verify domain2 server pods were not changed.
Verify domain2 server pods were not changed .
private void verifyDomain2NotChanged() {
    String domain2AdminServerPodName = domainAdminServerPodNames.get(1);
    logger.info("Checking that domain2 admin server pod state was not changed");
    assertThat(podStateNotChanged(domain2AdminServerPodName, domain2Uid, domain2Namespace,
        domainAdminPodOriginalTimestamps.get(1)))
        .as("Test state of pod {0} was not changed in namespace {1}",
            domain2AdminServerPodName, domain2Namespace)
        .withFailMessage("State of pod {0} was changed in namespace {1}",
            domain2AdminServerPodName, domain2Namespace)
        .isTrue();
    logger.info("Checking that domain2 managed server pods states were not changed");
    for (int i = 1; i <= replicaCount; i++) {
      String managedServerPodName = domain2Uid + "-" + MANAGED_SERVER_NAME_BASE + i;
      assertThat(podStateNotChanged(managedServerPodName, domain2Uid, domain2Namespace,
          domain2ManagedServerPodOriginalTimestampList.get(i - 1)))
          .as("Test state of pod {0} was not changed in namespace {1}",
              managedServerPodName, domain2Namespace)
          .withFailMessage("State of pod {0} was changed in namespace {1}",
              managedServerPodName, domain2Namespace)
          .isTrue();
    }
  }
private void verifyDomain2NotChanged ( ) { String domain2AdminServerPodName = domainAdminServerPodNames . get ( 1 ) ; logger . info ( "Checking that domain2 admin server pod state was not changed" ) ; assertThat ( podStateNotChanged ( domain2AdminServerPodName , domain2Uid , domain2Namespace , domainAdminPodOriginalTimestamps . get ( 1 ) ) ) . as ( "Test state of pod {0} was not changed in namespace {1}" , domain2AdminServerPodName , domain2Namespace ) . withFailMessage ( "State of pod {0} was changed in namespace {1}" , domain2AdminServerPodName , domain2Namespace ) . isTrue ( ) ; logger . info ( "Checking that domain2 managed server pods states were not changed" ) ; for ( int i = 1 ; i <= replicaCount ; i ++ ) { String managedServerPodName = domain2Uid + "-" + MANAGED_SERVER_NAME_BASE + i ; assertThat ( podStateNotChanged ( managedServerPodName , domain2Uid , domain2Namespace , domain2ManagedServerPodOriginalTimestampList . get ( i - 1 ) ) ) . as ( "Test state of pod {0} was not changed in namespace {1}" , managedServerPodName , domain2Namespace ) . withFailMessage ( "State of pod {0} was changed in namespace {1}" , managedServerPodName , domain2Namespace ) . isTrue ( ) ; } }
Verify domain2 server pods were not changed.
Verify domain2 server pods were not changed .