You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by be...@apache.org on 2015/05/16 12:02:41 UTC

[2/6] cassandra git commit: fixup canonical view test

fixup canonical view test


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/8ad70cf2
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/8ad70cf2
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/8ad70cf2

Branch: refs/heads/cassandra-2.2
Commit: 8ad70cf257c63114b65cb1c32f56caf14290579f
Parents: 9f8c45d
Author: Benedict Elliott Smith <be...@apache.org>
Authored: Sat May 16 10:59:11 2015 +0100
Committer: Benedict Elliott Smith <be...@apache.org>
Committed: Sat May 16 10:59:11 2015 +0100

----------------------------------------------------------------------
 .../org/apache/cassandra/io/sstable/SSTableRewriterTest.java     | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/8ad70cf2/test/unit/org/apache/cassandra/io/sstable/SSTableRewriterTest.java
----------------------------------------------------------------------
diff --git a/test/unit/org/apache/cassandra/io/sstable/SSTableRewriterTest.java b/test/unit/org/apache/cassandra/io/sstable/SSTableRewriterTest.java
index b940b7b..56b15fe 100644
--- a/test/unit/org/apache/cassandra/io/sstable/SSTableRewriterTest.java
+++ b/test/unit/org/apache/cassandra/io/sstable/SSTableRewriterTest.java
@@ -774,8 +774,10 @@ public class SSTableRewriterTest extends SchemaLoader
                 }
             }
         }
-        writer.finish();
+        writer.abort();
         cfs.getDataTracker().unmarkCompacting(sstables);
+        truncateCF();
+        validateCFS(cfs);
     }
 
     private void validateKeys(Keyspace ks)