integration-tests/src/test/java/oracle/kubernetes/operator/BaseTest.java
public void testDomainLifecyle(Operator operator, Domain domain, int port) throws Exception {
    LoggerHelper.getLocal().log(Level.INFO, "Inside testDomainLifecyle");
    domain.destroy();
    domain.create();
    operator.verifyExternalRestService();
    operator.verifyDomainExists(domain.getDomainUid());
    domain.verifyDomainCreated();
    // if domain created with domain home in image, re-deploy the webapp and verify load balancing
    if (domain.getDomainMap().containsKey("domainHomeImageBase")) {
      testAdminT3Channel(domain, true);
    } else {
      domain.verifyWebAppLoadBalancing(TESTWEBAPP);
    }

    // intermittent failure, see OWLS-73416
    // testWsLoadBalancing(domain);
    domain.verifyAdminServerExternalService(getUsername(), getPassword());
    domain.verifyHasClusterServiceChannelPort("TCP", port, TESTWEBAPP + "/");
    LoggerHelper.getLocal().log(Level.INFO, "Done - testDomainLifecyle");
  }
/**
   * Restarting the domain should not have any impact on Operator managing the domain, web app load
   * balancing and node port service.
   *
   * @throws Exception exception
   */
Restarting the domain should not have any impact on Operator managing the domain, web app load
balancing and node port service.

@throws Exception exception
Restarting the domain should not have any impact on Operator managing the domain web app load balancing and node port service . @throws Exception exception
public void testDomainLifecyle(Operator operator, Domain domain, int port) throws Exception {
    LoggerHelper.getLocal().log(Level.INFO, "Inside testDomainLifecyle");
    domain.destroy();
    domain.create();
    operator.verifyExternalRestService();
    operator.verifyDomainExists(domain.getDomainUid());
    domain.verifyDomainCreated();
    if (domain.getDomainMap().containsKey("domainHomeImageBase")) {
      testAdminT3Channel(domain, true);
    } else {
      domain.verifyWebAppLoadBalancing(TESTWEBAPP);
    }
    domain.verifyAdminServerExternalService(getUsername(), getPassword());
    domain.verifyHasClusterServiceChannelPort("TCP", port, TESTWEBAPP + "/");
    LoggerHelper.getLocal().log(Level.INFO, "Done - testDomainLifecyle");
  }
public void testDomainLifecyle ( Operator operator , Domain domain , int port ) throws Exception { LoggerHelper . getLocal ( ) . log ( Level . INFO , "Inside testDomainLifecyle" ) ; domain . destroy ( ) ; domain . create ( ) ; operator . verifyExternalRestService ( ) ; operator . verifyDomainExists ( domain . getDomainUid ( ) ) ; domain . verifyDomainCreated ( ) ; if ( domain . getDomainMap ( ) . containsKey ( "domainHomeImageBase" ) ) { testAdminT3Channel ( domain , true ) ; } else { domain . verifyWebAppLoadBalancing ( TESTWEBAPP ) ; } domain . verifyAdminServerExternalService ( getUsername ( ) , getPassword ( ) ) ; domain . verifyHasClusterServiceChannelPort ( "TCP" , port , TESTWEBAPP + "/" ) ; LoggerHelper . getLocal ( ) . log ( Level . INFO , "Done - testDomainLifecyle" ) ; }
Restarting the domain should not have any impact on Operator managing the domain, web app load
 balancing and node port service.
Restarting the domain should not have any impact on Operator managing the domain web app load balancing and node port service .
// if domain created with domain home in image, re-deploy the webapp and verify load balancing // intermittent failure, see OWLS-73416 // testWsLoadBalancing(domain);