You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by al...@apache.org on 2014/11/26 21:17:21 UTC

cassandra git commit: Fix PaxosStateTest

Repository: cassandra
Updated Branches:
  refs/heads/trunk 32b0a4e95 -> c5cec0046


Fix PaxosStateTest


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

Branch: refs/heads/trunk
Commit: c5cec004628c2b669d48c4cf565bfa5482a766f3
Parents: 32b0a4e
Author: Aleksey Yeschenko <al...@apache.org>
Authored: Wed Nov 26 23:17:09 2014 +0300
Committer: Aleksey Yeschenko <al...@apache.org>
Committed: Wed Nov 26 23:17:09 2014 +0300

----------------------------------------------------------------------
 test/unit/org/apache/cassandra/service/PaxosStateTest.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/c5cec004/test/unit/org/apache/cassandra/service/PaxosStateTest.java
----------------------------------------------------------------------
diff --git a/test/unit/org/apache/cassandra/service/PaxosStateTest.java b/test/unit/org/apache/cassandra/service/PaxosStateTest.java
index d41d89f..7f4bc49 100644
--- a/test/unit/org/apache/cassandra/service/PaxosStateTest.java
+++ b/test/unit/org/apache/cassandra/service/PaxosStateTest.java
@@ -45,6 +45,7 @@ public class PaxosStateTest
     public static void setUpClass() throws Throwable
     {
         SchemaLoader.loadSchema();
+        SchemaLoader.schemaDefinition("PaxosStateTest");
     }
 
     @AfterClass
@@ -56,7 +57,7 @@ public class PaxosStateTest
     @Test
     public void testCommittingAfterTruncation() throws Exception
     {
-        ColumnFamilyStore cfs = Keyspace.open("Keyspace1").getColumnFamilyStore("Standard1");
+        ColumnFamilyStore cfs = Keyspace.open("PaxosStateTestKeyspace1").getColumnFamilyStore("Standard1");
         DecoratedKey key = Util.dk("key" + System.nanoTime());
         CellName name = Util.cellname("col");
         ByteBuffer value = ByteBufferUtil.bytes(0);