On 8 May 2013, at 22:29, Mircea Markus <mmarkus(a)redhat.com> wrote:
Writing tearDown like this should solve the problem:
@AfterMethod (alwaysRun=true)
void tearDown() {
if (cm != null) cm.stop();
}
This is why we have test helpers. E.g.,
TestingUtil.killCacheManagers(cm);
--
Manik Surtani
manik(a)jboss.org
twitter.com/maniksurtani
Platform Architect, JBoss Data Grid
http://red.ht/data-grid