cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alek...@apache.org
Subject [6/7] git commit: Fix TriggersTest
Date Tue, 11 Mar 2014 12:33:27 GMT
Fix TriggersTest


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

Branch: refs/heads/trunk
Commit: b4f262e1b0520a683666186d952f9913f568a71b
Parents: 362148d
Author: Aleksey Yeschenko <aleksey@apache.org>
Authored: Tue Mar 11 15:32:25 2014 +0300
Committer: Aleksey Yeschenko <aleksey@apache.org>
Committed: Tue Mar 11 15:32:25 2014 +0300

----------------------------------------------------------------------
 test/unit/org/apache/cassandra/triggers/TriggersTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/b4f262e1/test/unit/org/apache/cassandra/triggers/TriggersTest.java
----------------------------------------------------------------------
diff --git a/test/unit/org/apache/cassandra/triggers/TriggersTest.java b/test/unit/org/apache/cassandra/triggers/TriggersTest.java
index 947674f..b374759 100644
--- a/test/unit/org/apache/cassandra/triggers/TriggersTest.java
+++ b/test/unit/org/apache/cassandra/triggers/TriggersTest.java
@@ -169,7 +169,7 @@ public class TriggersTest extends SchemaLoader
         public Collection<Mutation> augment(ByteBuffer key, ColumnFamily update)
         {
             ColumnFamily extraUpdate = update.cloneMeShallow(ArrayBackedSortedColumns.factory,
false);
-            extraUpdate.addColumn(new Cell(CellNames.compositeDense(bytes("v2")),
+            extraUpdate.addColumn(new Cell(update.metadata().comparator.makeCellName(bytes("v2")),
                                            bytes(999)));
             Mutation mutation = new Mutation(ksName, key);
             mutation.add(extraUpdate);


Mime
View raw message