From c56c6b8bf513fc783db5d01cafb0d41914845016 Mon Sep 17 00:00:00 2001 From: Gian Merlino Date: Wed, 21 Aug 2013 15:05:37 -0700 Subject: [PATCH] Fix test oopsie --- .../test/java/com/metamx/druid/shard/NumberedShardSpecTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/test/java/com/metamx/druid/shard/NumberedShardSpecTest.java b/client/src/test/java/com/metamx/druid/shard/NumberedShardSpecTest.java index 8ce5641325f..15a9c898922 100644 --- a/client/src/test/java/com/metamx/druid/shard/NumberedShardSpecTest.java +++ b/client/src/test/java/com/metamx/druid/shard/NumberedShardSpecTest.java @@ -49,7 +49,7 @@ public class NumberedShardSpecTest { final ObjectMapper jsonMapper = new DefaultObjectMapper(); final ShardSpec spec = jsonMapper.readValue( - "{\"type\": \"numbered\", \"partitions\": 2, \"partitionNum\": 2}", + "{\"type\": \"numbered\", \"partitions\": 2, \"partitionNum\": 1}", ShardSpec.class ); Assert.assertEquals(1, spec.getPartitionNum());