cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject [2/3] cassandra git commit: Fix test broken after second pass of CASSANDRA-11803 changes
Date Wed, 19 Oct 2016 15:12:27 GMT
Fix test broken after second pass of CASSANDRA-11803 changes

Patch by Alex Petrov; reviewed by Carl Yeksigian for CASSANDRA-11803


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

Branch: refs/heads/trunk
Commit: 5f2367ef92517ac0bf7b7315de248021da2de4a6
Parents: 1f19d1a
Author: Alex Petrov <oleksandr.petrov@gmail.com>
Authored: Wed Oct 19 08:32:49 2016 +0200
Committer: Carl Yeksigian <carl@apache.org>
Committed: Wed Oct 19 11:08:19 2016 -0400

----------------------------------------------------------------------
 .../org/apache/cassandra/db/ColumnFamilyStoreCQLHelperTest.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/5f2367ef/test/unit/org/apache/cassandra/db/ColumnFamilyStoreCQLHelperTest.java
----------------------------------------------------------------------
diff --git a/test/unit/org/apache/cassandra/db/ColumnFamilyStoreCQLHelperTest.java b/test/unit/org/apache/cassandra/db/ColumnFamilyStoreCQLHelperTest.java
index fa878c3..0b04bb3 100644
--- a/test/unit/org/apache/cassandra/db/ColumnFamilyStoreCQLHelperTest.java
+++ b/test/unit/org/apache/cassandra/db/ColumnFamilyStoreCQLHelperTest.java
@@ -649,10 +649,10 @@ public class ColumnFamilyStoreCQLHelperTest extends CQLTester
 
         assertTrue(ColumnFamilyStoreCQLHelper.getCFMetadataAsCQL(cfs.metadata, true).startsWith(
         "CREATE TABLE IF NOT EXISTS " + DYNAMIC_COMPOSITE + "." + DYNAMIC_COMPOSITE + " (\n"
+
-        "\t\"key\" ascii,\n" +
+        "\tkey ascii,\n" +
         "\tcols 'org.apache.cassandra.db.marshal.DynamicCompositeType(a=>org.apache.cassandra.db.marshal.BytesType,b=>org.apache.cassandra.db.marshal.BytesType,c=>org.apache.cassandra.db.marshal.BytesType)',\n"
+
         "\tval ascii,\n" +
-        "\tPRIMARY KEY (\"key\", cols))\n" +
+        "\tPRIMARY KEY (key, cols))\n" +
         "\tWITH ID = " + cfs.metadata.cfId + "\n" +
         "\tAND COMPACT STORAGE"));
     }


Mime
View raw message