new-integration-tests/src/test/java/oracle/weblogic/kubernetes/ItPodsRestart.java
@BeforeAll
  public static void initAll(@Namespaces(2) List<String> namespaces) {
    logger = getLogger();
    // get a unique operator namespace
    logger.info("Getting a unique namespace for operator");
    assertNotNull(namespaces.get(0), "Namespace list is null");
    String opNamespace = namespaces.get(0);

    // get a unique domain namespace
    logger.info("Getting a unique namespace for WebLogic domain");
    assertNotNull(namespaces.get(1), "Namespace list is null");
    domainNamespace = namespaces.get(1);

    // install and verify operator
    installAndVerifyOperator(opNamespace, domainNamespace);

    // create a basic model in image domain
    createAndVerifyMiiDomain();
  }
/**
   * Get namespaces for operator and WebLogic domain.
   *
   * @param namespaces list of namespaces created by the IntegrationTestWatcher by the
   *                   JUnit engine parameter resolution mechanism
   */
Get namespaces for operator and WebLogic domain.
@param namespaces list of namespaces created by the IntegrationTestWatcher by the
JUnit engine parameter resolution mechanism
Get namespaces for operator and WebLogic domain . @param namespaces list of namespaces created by the IntegrationTestWatcher by the JUnit engine parameter resolution mechanism
@BeforeAll
  public static void initAll(@Namespaces(2) List<String> namespaces) {
    logger = getLogger();
    logger.info("Getting a unique namespace for operator");
    assertNotNull(namespaces.get(0), "Namespace list is null");
    String opNamespace = namespaces.get(0);
    logger.info("Getting a unique namespace for WebLogic domain");
    assertNotNull(namespaces.get(1), "Namespace list is null");
    domainNamespace = namespaces.get(1);
    installAndVerifyOperator(opNamespace, domainNamespace);
    createAndVerifyMiiDomain();
  }
@ BeforeAll public static void initAll ( @ Namespaces ( 2 ) List < String > namespaces ) { logger = getLogger ( ) ; logger . info ( "Getting a unique namespace for operator" ) ; assertNotNull ( namespaces . get ( 0 ) , "Namespace list is null" ) ; String opNamespace = namespaces . get ( 0 ) ; logger . info ( "Getting a unique namespace for WebLogic domain" ) ; assertNotNull ( namespaces . get ( 1 ) , "Namespace list is null" ) ; domainNamespace = namespaces . get ( 1 ) ; installAndVerifyOperator ( opNamespace , domainNamespace ) ; createAndVerifyMiiDomain ( ) ; }
Get namespaces for operator and WebLogic domain.
Get namespaces for operator and WebLogic domain .
// get a unique operator namespace // get a unique domain namespace // install and verify operator // create a basic model in image domain