diff --git a/server/src/test/java/io/druid/server/shard/HashBasedNumberedShardSpecTest.java b/server/src/test/java/io/druid/server/shard/HashBasedNumberedShardSpecTest.java index 2ab82655bf0..bfd573dae89 100644 --- a/server/src/test/java/io/druid/server/shard/HashBasedNumberedShardSpecTest.java +++ b/server/src/test/java/io/druid/server/shard/HashBasedNumberedShardSpecTest.java @@ -194,17 +194,4 @@ public class HashBasedNumberedShardSpecTest return 0; } } - - @Test - public void testValidity() - { - for (int i = Integer.MIN_VALUE; i < Integer.MAX_VALUE; i++) { - { - int partitionNum = Math.abs((int) ((long) i % 2)); - if (partitionNum != 0 && partitionNum != 1) { - throw new ISE("for i " + i + "partitionNum " + partitionNum); - } - } - } - } }