@BeforeMethod(groups = "slow") public void beforeMethod() throws Exception { super.beforeMethod(); }
@AfterSuite(groups = {"slow", "mysql"}) public void afterSuite() throws Exception { if (hasFailed()) { log.error("**********************************************************************************************"); log.error("*** TESTS HAVE FAILED - LEAVING DB RUNNING FOR DEBUGGING - MAKE SURE TO KILL IT ONCE DONE ****"); log.error(DBTestingHelper.get().getCmdLineConnectionString()); log.error("**********************************************************************************************"); return; } try { DBTestingHelper.get().stop(); } catch (Exception ignored) { } } }
@BeforeMethod(groups = "slow") public void beforeMethod() throws Exception { super.beforeMethod(); eventBus.start(); }
@BeforeMethod(groups = "slow") public void beforeMethod() throws Exception { super.beforeMethod(); bus.start(); restartAnalyticsService(); }
@Override @BeforeMethod(groups = "slow") public void beforeMethod() throws Exception { super.beforeMethod(); controllerDispatcher.clearAll(); bus.start(); restartInvoiceService(invoiceService); }
@BeforeMethod(groups = "slow") public void beforeMethod() throws Exception { super.beforeMethod(); startTestFamework(); this.catalog = initCatalog(catalogService); // Make sure we start with a clean state assertListenerStatus(); }
@Override @BeforeMethod(groups = "slow") public void beforeMethod() throws Exception { super.beforeMethod(); subscriptionTestInitializer.startTestFamework(testListener, testListenerStatus, clock, busService, subscriptionBaseService); this.catalog = subscriptionTestInitializer.initCatalog(catalogService); this.accountData = subscriptionTestInitializer.initAccountData(); this.bundle = subscriptionTestInitializer.initBundle(subscriptionInternalApi, internalCallContext); // Make sure we start with a clean state assertListenerStatus(); }
@BeforeMethod(groups = "slow") public void beforeMethod() throws Exception { super.beforeMethod(); cacheControllerDispatcher.clearAll(); bus.start(); bus.register(listener); service.initialize(); service.start(); }
@Override @BeforeMethod(groups = "slow") public void beforeMethod() throws Exception { super.beforeMethod(); resetTestListenerStatus(); eventsListener.reset(); eventBus.start(); eventBus.register(eventsListener); controlCacheDispatcher.clearAll(); // Make sure we start with a clean state assertListenerStatus(); }