mirror of https://github.com/apache/cassandra
Fix ReadCommandTest
Patch by jjirsa; reviewed by stefania for CASSANDRA-10555
This commit is contained in:
parent
e017d89a6f
commit
881e2da0a4
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue