new-integration-tests/src/test/java/oracle/weblogic/kubernetes/ItMiiSample.java
@AfterAll
  public void tearDownAll() {
    // db cleanup or deletion
    if (envMap != null) {
      logger.info("Running samples DB cleanup");
      Command.withParams(new CommandParams()
          .command(MII_SAMPLES_SCRIPT + " -precleandb")
          .env(envMap)
          .redirect(true)).execute();
    }

    // uninstall traefik
    if (traefikNamespace != null) {
      logger.info("Uninstall traefik");
      Command.withParams(new CommandParams()
          .command("helm uninstall traefik-operator -n " + traefikNamespace)
          .redirect(true)).execute();
    }
  }
/**
   * Delete DB deployment and Uninstall traefik.
   */
Delete DB deployment and Uninstall traefik.
Delete DB deployment and Uninstall traefik .
@AfterAll
  public void tearDownAll() {
    if (envMap != null) {
      logger.info("Running samples DB cleanup");
      Command.withParams(new CommandParams()
          .command(MII_SAMPLES_SCRIPT + " -precleandb")
          .env(envMap)
          .redirect(true)).execute();
    }
    if (traefikNamespace != null) {
      logger.info("Uninstall traefik");
      Command.withParams(new CommandParams()
          .command("helm uninstall traefik-operator -n " + traefikNamespace)
          .redirect(true)).execute();
    }
  }
@ AfterAll public void tearDownAll ( ) { if ( envMap != null ) { logger . info ( "Running samples DB cleanup" ) ; Command . withParams ( new CommandParams ( ) . command ( MII_SAMPLES_SCRIPT + " -precleandb" ) . env ( envMap ) . redirect ( true ) ) . execute ( ) ; } if ( traefikNamespace != null ) { logger . info ( "Uninstall traefik" ) ; Command . withParams ( new CommandParams ( ) . command ( "helm uninstall traefik-operator -n " + traefikNamespace ) . redirect ( true ) ) . execute ( ) ; } }
Delete DB deployment and Uninstall traefik.
Delete DB deployment and Uninstall traefik .
// db cleanup or deletion // uninstall traefik