Updated Branches: refs/heads/trunk 4376ce702 -> 8c471240d
LongCompactionsTest#testStandardColumnCompaction should reset CFS for clean test Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/8c471240 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/8c471240 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/8c471240 Branch: refs/heads/trunk Commit: 8c471240d0ffafeef53df2fd69693294257ed730 Parents: 4376ce7 Author: Yuki Morishita <yu...@apache.org> Authored: Tue Oct 16 11:44:42 2012 -0500 Committer: Yuki Morishita <yu...@apache.org> Committed: Tue Oct 16 11:44:42 2012 -0500 ---------------------------------------------------------------------- .../db/compaction/LongCompactionsTest.java | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/8c471240/test/long/org/apache/cassandra/db/compaction/LongCompactionsTest.java ---------------------------------------------------------------------- diff --git a/test/long/org/apache/cassandra/db/compaction/LongCompactionsTest.java b/test/long/org/apache/cassandra/db/compaction/LongCompactionsTest.java index 6ea173c..7944555 100644 --- a/test/long/org/apache/cassandra/db/compaction/LongCompactionsTest.java +++ b/test/long/org/apache/cassandra/db/compaction/LongCompactionsTest.java @@ -116,6 +116,7 @@ public class LongCompactionsTest extends SchemaLoader // this test does enough rows to force multiple block indexes to be used Table table = Table.open(TABLE1); ColumnFamilyStore cfs = table.getColumnFamilyStore("Standard1"); + cfs.clearUnsafe(); final int ROWS_PER_SSTABLE = 10; final int SSTABLES = DatabaseDescriptor.getIndexInterval() * 3 / ROWS_PER_SSTABLE;