Fix test oopsie

This commit is contained in:
Gian Merlino 2013-08-21 15:05:37 -07:00
parent 94b5c292b9
commit c56c6b8bf5

View File

@ -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());