Truncate cfs between SinglePartitionSliceCommandTest tests

patch by bdeggleston; reviewed by slebresne for CASSANDRA-10336
This commit is contained in:
Blake Eggleston 2015-09-15 08:24:58 -07:00 committed by Sylvain Lebresne
parent c9413211ce
commit c0a1cce4c8
1 changed files with 7 additions and 0 deletions

View File

@ -6,6 +6,7 @@ import java.util.Collections;
import java.util.Iterator;
import org.junit.Assert;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
@ -66,6 +67,12 @@ public class SinglePartitionSliceCommandTest
s = cfm.getColumnDefinition(new ColumnIdentifier("s", true));
}
@Before
public void truncate()
{
Keyspace.open(KEYSPACE).getColumnFamilyStore(TABLE).truncateBlocking();
}
@Test
public void staticColumnsAreFiltered() throws IOException
{