Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3091410262 for ; Wed, 26 Nov 2014 20:17:22 +0000 (UTC) Received: (qmail 56554 invoked by uid 500); 26 Nov 2014 20:17:22 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 56518 invoked by uid 500); 26 Nov 2014 20:17:22 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 56507 invoked by uid 99); 26 Nov 2014 20:17:21 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Nov 2014 20:17:21 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id B7DBB8AF924; Wed, 26 Nov 2014 20:17:21 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: aleksey@apache.org To: commits@cassandra.apache.org Message-Id: <55d047e76c7b4c2d815358e23b601275@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: cassandra git commit: Fix PaxosStateTest Date: Wed, 26 Nov 2014 20:17:21 +0000 (UTC) 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 Authored: Wed Nov 26 23:17:09 2014 +0300 Committer: Aleksey Yeschenko 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);