From b74845e94293e619fc6d26d8a70c4088250834a1 Mon Sep 17 00:00:00 2001 From: nishantmonu51 Date: Wed, 16 Jul 2014 09:39:51 +0530 Subject: [PATCH] fix test committed it by mistake. --- .../shard/HashBasedNumberedShardSpecTest.java | 13 ------------- 1 file changed, 13 deletions(-) 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); - } - } - } - } }