mirror of https://github.com/apache/cassandra
Truncate cfs between SinglePartitionSliceCommandTest tests
patch by bdeggleston; reviewed by slebresne for CASSANDRA-10336
This commit is contained in:
parent
c9413211ce
commit
c0a1cce4c8
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue