committed it by mistake.
This commit is contained in:
nishantmonu51 2014-07-16 09:39:51 +05:30
parent 935b642b2c
commit b74845e942
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);
}
}
}
}
}