@After public void tearDown() throws Throwable {
  if (this.vmState != null) {
    try {
      deleteDocument(this.host,this.vmState.documentSelfLink);
    }
 catch (    Throwable deleteEx) {
      host.log(Level.WARNING,"Exception deleting VM - %s",deleteEx.getMessage());
    }
  }
  if (this.computeHost != null) {
    try {
      deleteDocument(this.host,this.computeHost.documentSelfLink);
    }
 catch (    Throwable deleteEx) {
      host.log(Level.WARNING,"Exception deleting VM - %s",deleteEx.getMessage());
    }
  }
}

@ After public void tearDown ( ) throws Throwable { if ( this . vmState != null ) { try { deleteDocument ( this . host , this . vmState . documentSelfLink ) ; } catch ( Throwable deleteEx ) { host . log ( Level . WARNING , "Exception deleting VM - %s" , deleteEx . getMessage ( ) ) ; } } if ( this . computeHost != null ) { try { deleteDocument ( this . host , this . computeHost . documentSelfLink ) ; } catch ( Throwable deleteEx ) { host . log ( Level . WARNING , "Exception deleting VM - %s" , deleteEx . getMessage ( ) ) ; } } }
do some clean up after enumeration test . it will delete the default vm as well as compute host .
