@Test(timeOut = AbstractTestSupport.DEFAULT_TEST_TIMEOUT * 2, enabled = true) public void testTeardownWithoutUnInstallApplication() throws Exception { ApplicationInstaller travelInstaller = new ApplicationInstaller(getRestUrl(), "travel"); travelInstaller.recipePath(TRAVEL_PATH); ApplicationInstaller petclinicInstaller = new ApplicationInstaller(getRestUrl(), "petclinic"); petclinicInstaller.recipePath(PETCLINIC_SIMPLE_PATH); travelInstaller.install(); petclinicInstaller.install(); super.teardown(); AssertUtils.assertTrue( "Application 'travel' should not have been discovered since a teardown was executed", admin.getApplications().getApplication("travel") == null); AssertUtils.assertTrue( "Application 'petclinic' should not have been discovered since a teardown was executed", admin.getApplications().getApplication("petclinic") == null); super.scanForLeakedAgentNodes(); }
@AfterClass(alwaysRun = true) public void closeAdmin() { super.closeAdmin(); }
@BeforeClass(alwaysRun = true) protected void bootstrap() throws Exception { super.bootstrap(); }