cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject [2/3] git commit: fix CFSTest on Windows patch by Josh McKenzie; reviewed by jbellis for CASSANDRA-7195
Date Tue, 20 May 2014 03:46:56 GMT
fix CFSTest on Windows
patch by Josh McKenzie; reviewed by jbellis for CASSANDRA-7195


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

Branch: refs/heads/trunk
Commit: ba08eb3577dfe00885b024e66738d294f431129b
Parents: c0e94ae
Author: Jonathan Ellis <jbellis@apache.org>
Authored: Mon May 19 22:46:40 2014 -0500
Committer: Jonathan Ellis <jbellis@apache.org>
Committed: Mon May 19 22:46:40 2014 -0500

----------------------------------------------------------------------
 test/unit/org/apache/cassandra/db/ColumnFamilyStoreTest.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/ba08eb35/test/unit/org/apache/cassandra/db/ColumnFamilyStoreTest.java
----------------------------------------------------------------------
diff --git a/test/unit/org/apache/cassandra/db/ColumnFamilyStoreTest.java b/test/unit/org/apache/cassandra/db/ColumnFamilyStoreTest.java
index f812849..e792bf9 100644
--- a/test/unit/org/apache/cassandra/db/ColumnFamilyStoreTest.java
+++ b/test/unit/org/apache/cassandra/db/ColumnFamilyStoreTest.java
@@ -994,7 +994,7 @@ public class ColumnFamilyStoreTest extends SchemaLoader
     }
 
     @Test
-    public void testSliceByNamesCommandOldMetatada() throws Throwable
+    public void testSliceByNamesCommandOldMetadata() throws Throwable
     {
         String keyspaceName = "Keyspace1";
         String cfName= "Standard1";
@@ -1025,6 +1025,8 @@ public class ColumnFamilyStoreTest extends SchemaLoader
         ColumnFamily cf = cmd.getRow(keyspace).cf;
         Cell cell = cf.getColumn(cname);
         assert cell.value().equals(ByteBufferUtil.bytes("a")) : "expecting a, got " + ByteBufferUtil.string(cell.value());
+
+        Keyspace.clear("Keyspace1"); // CASSANDRA-7195
     }
 
     private static void assertTotalColCount(Collection<Row> rows, int expectedCount)


Mime
View raw message