new-integration-tests/src/test/java/oracle/weblogic/kubernetes/extensions/IntegrationTestWatcher.java
@Override
  public void afterAll(ExtensionContext context) {
    printHeader(String.format("Ending Test Suite %s", className), "+");
    // set SKIP_CLEANUP env. var to skip cleanup, mainly used for debugging in local runs
    if (System.getenv("SKIP_CLEANUP") != null
        && System.getenv("SKIP_CLEANUP").toLowerCase().equals("true")) {
      getLogger().info("Skipping cleanup after test class");
    } else {
      getLogger().info("Starting cleanup after test class");
      CleanupUtil.cleanup(namespaces);
    }
  }
/**
   * Prints log message to mark end of test suite.
   * @param context the current extension context
   */
Prints log message to mark end of test suite.
@param context the current extension context
Prints log message to mark end of test suite . @param context the current extension context
@Override
  public void afterAll(ExtensionContext context) {
    printHeader(String.format("Ending Test Suite %s", className), "+");
    if (System.getenv("SKIP_CLEANUP") != null
        && System.getenv("SKIP_CLEANUP").toLowerCase().equals("true")) {
      getLogger().info("Skipping cleanup after test class");
    } else {
      getLogger().info("Starting cleanup after test class");
      CleanupUtil.cleanup(namespaces);
    }
  }
@ Override public void afterAll ( ExtensionContext context ) { printHeader ( String . format ( "Ending Test Suite %s" , className ) , "+" ) ; if ( System . getenv ( "SKIP_CLEANUP" ) != null && System . getenv ( "SKIP_CLEANUP" ) . toLowerCase ( ) . equals ( "true" ) ) { getLogger ( ) . info ( "Skipping cleanup after test class" ) ; } else { getLogger ( ) . info ( "Starting cleanup after test class" ) ; CleanupUtil . cleanup ( namespaces ) ; } }
Prints log message to mark end of test suite.
Prints log message to mark end of test suite .
// set SKIP_CLEANUP env. var to skip cleanup, mainly used for debugging in local runs