Updated Branches: refs/heads/cassandra-1.2 0a5a766d5 -> 39e3a5e03
Fix ScrubTest Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/445c874f Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/445c874f Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/445c874f Branch: refs/heads/cassandra-1.2 Commit: 445c874faa4c38b8e5b14835b282ac2efe358a43 Parents: 0a5a766 Author: Sylvain Lebresne <sylv...@datastax.com> Authored: Tue Nov 19 18:22:24 2013 +0100 Committer: Sylvain Lebresne <sylv...@datastax.com> Committed: Tue Nov 19 18:22:24 2013 +0100 ---------------------------------------------------------------------- test/unit/org/apache/cassandra/db/ScrubTest.java | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/445c874f/test/unit/org/apache/cassandra/db/ScrubTest.java ---------------------------------------------------------------------- diff --git a/test/unit/org/apache/cassandra/db/ScrubTest.java b/test/unit/org/apache/cassandra/db/ScrubTest.java index c26939a..68d1f5e 100644 --- a/test/unit/org/apache/cassandra/db/ScrubTest.java +++ b/test/unit/org/apache/cassandra/db/ScrubTest.java @@ -85,6 +85,7 @@ public class ScrubTest extends SchemaLoader CompactionManager.instance.disableAutoCompaction(); Table table = Table.open(TABLE); ColumnFamilyStore cfs = table.getColumnFamilyStore(CF); + cfs.clearUnsafe(); List<Row> rows; @@ -106,6 +107,7 @@ public class ScrubTest extends SchemaLoader CompactionManager.instance.disableAutoCompaction(); Table table = Table.open(TABLE); ColumnFamilyStore cfs = table.getColumnFamilyStore(CF3); + cfs.clearUnsafe(); RowMutation rm; rm = new RowMutation(TABLE, ByteBufferUtil.bytes(1)); @@ -125,6 +127,7 @@ public class ScrubTest extends SchemaLoader CompactionManager.instance.disableAutoCompaction(); Table table = Table.open(TABLE); ColumnFamilyStore cfs = table.getColumnFamilyStore(CF); + cfs.clearUnsafe(); List<Row> rows; @@ -147,6 +150,7 @@ public class ScrubTest extends SchemaLoader Table table = Table.open(TABLE); String columnFamily = "Standard3"; ColumnFamilyStore cfs = table.getColumnFamilyStore(columnFamily); + cfs.clearUnsafe(); /* * Code used to generate an outOfOrder sstable. The test for out-of-order key in SSTableWriter must also be commented out.