Merge branch 'master' of github.com:metamx/druid

This commit is contained in:
fjy 2014-07-15 22:50:46 -07:00
commit 0f3c474dee
1 changed files with 0 additions and 13 deletions

View File

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