You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by ee...@apache.org on 2010/12/13 20:43:08 UTC
svn commit: r1045334 -
/cassandra/trunk/test/unit/org/apache/cassandra/service/EmbeddedCassandraServiceTest.java
Author: eevans
Date: Mon Dec 13 19:43:08 2010
New Revision: 1045334
URL: http://svn.apache.org/viewvc?rev=1045334&view=rev
Log:
make ECST extend CleanupHelper
patch by jbellis
Modified:
cassandra/trunk/test/unit/org/apache/cassandra/service/EmbeddedCassandraServiceTest.java
Modified: cassandra/trunk/test/unit/org/apache/cassandra/service/EmbeddedCassandraServiceTest.java
URL: http://svn.apache.org/viewvc/cassandra/trunk/test/unit/org/apache/cassandra/service/EmbeddedCassandraServiceTest.java?rev=1045334&r1=1045333&r2=1045334&view=diff
==============================================================================
--- cassandra/trunk/test/unit/org/apache/cassandra/service/EmbeddedCassandraServiceTest.java (original)
+++ cassandra/trunk/test/unit/org/apache/cassandra/service/EmbeddedCassandraServiceTest.java Mon Dec 13 19:43:08 2010
@@ -25,11 +25,13 @@ import com.google.common.base.Charsets;
import org.junit.BeforeClass;
import org.junit.Test;
+import org.apache.cassandra.CleanupHelper;
import org.apache.cassandra.config.CFMetaData;
import org.apache.cassandra.config.ConfigurationException;
import org.apache.cassandra.config.DatabaseDescriptor;
import org.apache.cassandra.config.KSMetaData;
import org.apache.cassandra.thrift.*;
+import org.apache.cassandra.utils.ByteBufferUtil;
import org.apache.thrift.TException;
import org.apache.thrift.protocol.TBinaryProtocol;
import org.apache.thrift.protocol.TProtocol;
@@ -40,17 +42,14 @@ import org.apache.thrift.transport.TTran
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
-import org.apache.cassandra.utils.ByteBufferUtil;
/**
* Example how to use an embedded cassandra service.
*
* Tests connect to localhost:9160 when the embedded server is running.
*
- * @author Ran Tavory (rantav@gmail.com)
- *
*/
-public class EmbeddedCassandraServiceTest
+public class EmbeddedCassandraServiceTest extends CleanupHelper
{
private static EmbeddedCassandraService cassandra;