Author: manik.surtani(a)jboss.com
Date: 2008-08-19 05:36:47 -0400 (Tue, 19 Aug 2008)
New Revision: 6578
Modified:
core/trunk/src/test/java/org/jboss/cache/api/SyncReplTest.java
Log:
Better teardown
Modified: core/trunk/src/test/java/org/jboss/cache/api/SyncReplTest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/api/SyncReplTest.java 2008-08-19 09:36:28 UTC
(rev 6577)
+++ core/trunk/src/test/java/org/jboss/cache/api/SyncReplTest.java 2008-08-19 09:36:47 UTC
(rev 6578)
@@ -58,8 +58,7 @@
@AfterMethod(alwaysRun = true)
public void tearDown()
{
- if (cache1 != null) cache1.stop();
- if (cache2 != null) cache2.stop();
+ TestingUtil.killCaches(cache1, cache2);
}
protected void configure(Configuration c)
Show replies by date