new-integration-tests/src/test/java/oracle/weblogic/kubernetes/ItOperatorTwoDomains.java
@Test
  @DisplayName("Create domain on PV using WLST script")
  public void testTwoDomainsManagedByTwoOperators() {

    // create two domains on PV using WLST
    createTwoDomainsOnPVUsingWlstAndVerify();

    // get the domain1 and domain2 pods original creation timestamps
    getBothDomainsPodsOriginalCreationTimestamp();

    // scale cluster in domain1 from 2 to 3 servers and verify no impact on domain2
    replicasAfterScale = 3;
    scaleDomain1AndVerifyNoImpactOnDomain2();

    // restart domain1 and verify no impact on domain2
    restartDomain1AndVerifyNoImpactOnDomain2();

    // shutdown both domains and verify the pods were shutdown
    shutdownBothDomainsAndVerify();
  }
/**
   * Test covers the following use cases.
   * create two domains on PV using WLST
   * domain1 managed by operator1
   * domain2 managed by operator2
   * scale cluster in domain1 from 2 to 3 servers and verify no impact on domain2, domain2 continues to run
   * restart domain1 and verify no impact on domain2, domain2 continues to run
   * shutdown the domains using serverStartPolicy
   */
Test covers the following use cases.
create two domains on PV using WLST
domain1 managed by operator1
domain2 managed by operator2
scale cluster in domain1 from 2 to 3 servers and verify no impact on domain2, domain2 continues to run
restart domain1 and verify no impact on domain2, domain2 continues to run
shutdown the domains using serverStartPolicy
Test covers the following use cases . create two domains on PV using WLST domain1 managed by operator1 domain2 managed by operator2 scale cluster in domain1 from 2 to 3 servers and verify no impact on domain2 domain2 continues to run restart domain1 and verify no impact on domain2 domain2 continues to run shutdown the domains using serverStartPolicy
@Test
  @DisplayName("Create domain on PV using WLST script")
  public void testTwoDomainsManagedByTwoOperators() {
    createTwoDomainsOnPVUsingWlstAndVerify();
    getBothDomainsPodsOriginalCreationTimestamp();
    replicasAfterScale = 3;
    scaleDomain1AndVerifyNoImpactOnDomain2();
    restartDomain1AndVerifyNoImpactOnDomain2();
    shutdownBothDomainsAndVerify();
  }
@ Test @ DisplayName ( "Create domain on PV using WLST script" ) public void testTwoDomainsManagedByTwoOperators ( ) { createTwoDomainsOnPVUsingWlstAndVerify ( ) ; getBothDomainsPodsOriginalCreationTimestamp ( ) ; replicasAfterScale = 3 ; scaleDomain1AndVerifyNoImpactOnDomain2 ( ) ; restartDomain1AndVerifyNoImpactOnDomain2 ( ) ; shutdownBothDomainsAndVerify ( ) ; }
Test covers the following use cases.
Test covers the following use cases .
// create two domains on PV using WLST // get the domain1 and domain2 pods original creation timestamps // scale cluster in domain1 from 2 to 3 servers and verify no impact on domain2 // restart domain1 and verify no impact on domain2 // shutdown both domains and verify the pods were shutdown