Fix CQLSSTableWriterTest
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/d766f4fb Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/d766f4fb Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/d766f4fb Branch: refs/heads/cassandra-3.0 Commit: d766f4fb20af4914b54420e22af0de909eb180ed Parents: e42164b Author: Aleksey Yeschenko <alek...@apache.org> Authored: Tue Nov 10 14:42:01 2015 +0000 Committer: Aleksey Yeschenko <alek...@apache.org> Committed: Tue Nov 10 14:42:01 2015 +0000 ---------------------------------------------------------------------- .../unit/org/apache/cassandra/io/sstable/CQLSSTableWriterTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/d766f4fb/test/unit/org/apache/cassandra/io/sstable/CQLSSTableWriterTest.java ---------------------------------------------------------------------- diff --git a/test/unit/org/apache/cassandra/io/sstable/CQLSSTableWriterTest.java b/test/unit/org/apache/cassandra/io/sstable/CQLSSTableWriterTest.java index 602a108..557beba 100644 --- a/test/unit/org/apache/cassandra/io/sstable/CQLSSTableWriterTest.java +++ b/test/unit/org/apache/cassandra/io/sstable/CQLSSTableWriterTest.java @@ -158,7 +158,7 @@ public class CQLSSTableWriterTest String insert = String.format("UPDATE cql_keyspace.counter1 SET my_counter = my_counter - ? WHERE my_id = ?"); CQLSSTableWriter.builder().inDirectory(dataDir) .forTable(schema) - .withPartitioner(StorageService.instance.getPartitioner()) + .withPartitioner(Murmur3Partitioner.instance) .using(insert).build(); }