Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed minor test issues, prep for snapshot release

  • Loading branch information...
commit 93533ba369c64f6af045bb54639acf800ca99d71 1 parent 0833af9
zznate authored
View
2  src/test/java/me/prettyprint/cassandra/service/CassandraClusterTest.java
@@ -87,7 +87,7 @@ public void testAddDropKeyspace() throws Exception {
cassandraCluster.addKeyspace(
new ThriftKsDef("DynKeyspace", "org.apache.cassandra.locator.SimpleStrategy", 1, Arrays.asList(cfDef)));
- String ksid2 = cassandraCluster.dropKeyspace("MyDynKeyspace");
+ String ksid2 = cassandraCluster.dropKeyspace("DynKeyspace");
assertNotNull(ksid2);
}
}
View
1  src/test/java/me/prettyprint/cassandra/service/KeyspaceTest.java
@@ -811,6 +811,7 @@ public void testMultigetCount() {
ColumnParent clp = new ColumnParent("Standard1");
SlicePredicate slicePredicate = new SlicePredicate();
SliceRange sr = new SliceRange(ByteBuffer.wrap(new byte[0]), ByteBuffer.wrap(new byte[0]), false, 150);
+ slicePredicate.setSlice_range(sr);
Map<ByteBuffer,Integer> counts = keyspace.multigetCount(keys, clp, slicePredicate);
assertEquals(5,counts.size());
assertEquals(new Integer(25),counts.entrySet().iterator().next().getValue());
Please sign in to comment.
Something went wrong with that request. Please try again.