Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
1.2 branch
-
None
Description
Good catch! I found what the problem is - there can be only 254 ids
created within the same millisecond. The test below fails with a
message "Failed on 254":
public void testIdPool() throws Exception {
Set idSet = new HashSet();
for (int i = 0; i < Integer.MAX_VALUE; i++)
}
While a slightly modified test succeeds (ok I only waited till 100000
ids and canceled the test)
public void testIdPool() throws Exception {
Set idSet = new HashSet();
for (int i = 0; i < Integer.MAX_VALUE; i++)
}