提交 94b5c292 编写于 作者: G Gian Merlino

Fix test oopsie

上级 9b9a2a9f
......@@ -49,7 +49,7 @@ public class NumberedShardSpecTest
{
final ObjectMapper jsonMapper = new DefaultObjectMapper();
final ShardSpec spec = jsonMapper.readValue(
"{\"type\": \"numbered\", \"partition\": 1, \"partitionNum\": 2}",
"{\"type\": \"numbered\", \"partitions\": 2, \"partitionNum\": 2}",
ShardSpec.class
);
Assert.assertEquals(1, spec.getPartitionNum());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册