cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject git commit: minor nit: use the keyspace parameter
Date Fri, 16 May 2014 10:35:35 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk 57f3b802b -> 7879e7f9b


minor nit: use the keyspace parameter


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

Branch: refs/heads/trunk
Commit: 7879e7f9b6f0d95b85f24923bb93229ab129fca2
Parents: 57f3b80
Author: Dave Brosius <dbrosius@mebigfatguy.com>
Authored: Fri May 16 06:34:38 2014 -0400
Committer: Dave Brosius <dbrosius@mebigfatguy.com>
Committed: Fri May 16 06:35:07 2014 -0400

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


http://git-wip-us.apache.org/repos/asf/cassandra/blob/7879e7f9/test/unit/org/apache/cassandra/db/CommitLogTest.java
----------------------------------------------------------------------
diff --git a/test/unit/org/apache/cassandra/db/CommitLogTest.java b/test/unit/org/apache/cassandra/db/CommitLogTest.java
index 660e91e..c4a1fe1 100644
--- a/test/unit/org/apache/cassandra/db/CommitLogTest.java
+++ b/test/unit/org/apache/cassandra/db/CommitLogTest.java
@@ -171,7 +171,7 @@ public class CommitLogTest extends SchemaLoader
 
     private static int getMaxRecordDataSize(String keyspace, ByteBuffer key, String table,
CellName column)
     {
-        Mutation rm = new Mutation("Keyspace1", bytes("k"));
+        Mutation rm = new Mutation(keyspace, bytes("k"));
         rm.add("Standard1", Util.cellname("c1"), ByteBuffer.allocate(0), 0);
 
         int max = (DatabaseDescriptor.getCommitLogSegmentSize() / 2);


Mime
View raw message