Fix ReadCommandTest

Patch by jjirsa; reviewed by stefania for CASSANDRA-10555
This commit is contained in:
Jeff Jirsa 2015-10-20 11:32:52 -04:00 committed by Joshua McKenzie
parent e017d89a6f
commit 881e2da0a4
1 changed files with 5 additions and 1 deletions

View File

@ -90,6 +90,8 @@ public class ReadCommandTest
{
ColumnFamilyStore cfs = Keyspace.open(KEYSPACE).getColumnFamilyStore(CF2);
cfs.truncateBlocking();
new RowUpdateBuilder(cfs.metadata, 0, ByteBufferUtil.bytes("key"))
.clustering("cc")
.add("a", ByteBufferUtil.bytes("abcd"))
@ -119,6 +121,8 @@ public class ReadCommandTest
{
ColumnFamilyStore cfs = Keyspace.open(KEYSPACE).getColumnFamilyStore(CF2);
cfs.truncateBlocking();
new RowUpdateBuilder(cfs.metadata, 0, ByteBufferUtil.bytes("key"))
.clustering("cc")
.add("a", ByteBufferUtil.bytes("abcd"))
@ -128,7 +132,7 @@ public class ReadCommandTest
cfs.forceBlockingFlush();
new RowUpdateBuilder(cfs.metadata, 0, ByteBufferUtil.bytes("key"))
.clustering("cdd")
.clustering("dd")
.add("a", ByteBufferUtil.bytes("abcd"))
.build()
.apply();