Author: gdusbabek
Date: Wed Feb 17 21:16:52 2010
New Revision: 911178
URL: http://svn.apache.org/viewvc?rev=911178&view=rev
Log:
Using realy keyspaces in tests so that their replication strategies can be
queried. Patch by Gary Dusbabek, reviewed by Stu Hood.
Modified:
incubator/cassandra/trunk/test/unit/org/apache/cassandra/service/AntiEntropyServiceTest.java
Modified:
incubator/cassandra/trunk/test/unit/org/apache/cassandra/service/AntiEntropyServiceTest.java
URL:
http://svn.apache.org/viewvc/incubator/cassandra/trunk/test/unit/org/apache/cassandra/service/AntiEntropyServiceTest.java?rev=911178&r1=911177&r2=911178&view=diff
==============================================================================
---
incubator/cassandra/trunk/test/unit/org/apache/cassandra/service/AntiEntropyServiceTest.java
(original)
+++
incubator/cassandra/trunk/test/unit/org/apache/cassandra/service/AntiEntropyServiceTest.java
Wed Feb 17 21:16:52 2010
@@ -207,13 +207,13 @@
public void testDifferencer() throws Throwable
{
// generate a tree
- Validator validator = new Validator(new CFPair("ltable", "lcf"));
+ Validator validator = new Validator(new CFPair("Keyspace1", "lcf"));
validator.prepare();
// create a clone with no values filled
validator.complete();
MerkleTree ltree = validator.tree;
- validator = new Validator(new CFPair("rtable", "rcf"));
+ validator = new Validator(new CFPair("Keyspace1", "rcf"));
validator.prepare();
validator.complete();
MerkleTree rtree = validator.tree;