public void stopAutoFailThread(){
  if (isAutoFail() && autoFailThread != null && autoFailThread.isAlive()) {
    isTestSuccess.set(true);
    if (verbose) {
      LOG.info("Stopping auto fail thread...");
    }
    LOG.info("Stopping auto fail thread...");
    autoFailThread.interrupt();
  }
}

public void stopAutoFailThread ( ) { if ( isAutoFail ( ) && autoFailThread != null && autoFailThread . isAlive ( ) ) { isTestSuccess . set ( true ) ; if ( verbose ) { LOG . info ( "Stopping auto fail thread..." ) ; } LOG . info ( "Stopping auto fail thread..." ) ; autoFailThread . interrupt ( ) ; } }
manually stops the auto fail thread . as a rule , this method is used only when you are not sure , if the setup and teardown method is propagated correctly .
