cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From slebre...@apache.org
Subject [3/6] cassandra git commit: testall failure in org.apache.cassandra.index.internal.CassandraIndexTest.indexOnFirstClusteringColumn
Date Thu, 10 Nov 2016 15:50:34 GMT
testall failure in org.apache.cassandra.index.internal.CassandraIndexTest.indexOnFirstClusteringColumn

patch by Sylvain Lebresne; reviewed by Sam Tunnicliffe for CASSANDRA-12834


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

Branch: refs/heads/trunk
Commit: 83639d494fde6ae36310724d03e6caafeb66e7c8
Parents: c39a9b0
Author: Sylvain Lebresne <sylvain@datastax.com>
Authored: Wed Nov 9 15:09:23 2016 +0100
Committer: Sylvain Lebresne <sylvain@datastax.com>
Committed: Thu Nov 10 16:49:32 2016 +0100

----------------------------------------------------------------------
 .../org/apache/cassandra/index/internal/CassandraIndexTest.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/83639d49/test/unit/org/apache/cassandra/index/internal/CassandraIndexTest.java
----------------------------------------------------------------------
diff --git a/test/unit/org/apache/cassandra/index/internal/CassandraIndexTest.java b/test/unit/org/apache/cassandra/index/internal/CassandraIndexTest.java
index 2845c19..937512d 100644
--- a/test/unit/org/apache/cassandra/index/internal/CassandraIndexTest.java
+++ b/test/unit/org/apache/cassandra/index/internal/CassandraIndexTest.java
@@ -395,7 +395,7 @@ public class CassandraIndexTest extends CQLTester
         int indexedVal = 2;
         int initialTtl = 3600;
         createTable("CREATE TABLE %s (k int, c int, v int, PRIMARY KEY(k,c))");
-        createIndex("CREATE INDEX c_index on %s(c)");
+        createIndex("CREATE INDEX ON %s(c)");
         execute("INSERT INTO %s (k, c, v) VALUES (?, ?, 0) USING TTL ?", basePk, indexedVal,
initialTtl);
         ColumnFamilyStore baseCfs = getCurrentColumnFamilyStore();
         ColumnFamilyStore indexCfs = baseCfs.indexManager.listIndexes()


Mime
View raw message