Adjusted regression test duration

This commit is contained in:
Trustin Lee 2008-11-07 08:24:58 +00:00
parent b8af182e8c
commit 87dd4adbc7

View File

@ -40,7 +40,7 @@ import org.junit.Test;
*
*/
public class TimeBasedUuidGeneratorTest {
private static final int COUNT = 100000;
private static final int COUNT = 16384 * 8;
@Test
public void shouldGenerateTimeBasedUuid() {
@ -59,7 +59,10 @@ public class TimeBasedUuidGeneratorTest {
Collections.sort(uuids);
for (int i = 1; i < COUNT; i ++) {
assertFalse(uuids.get(i - 1).equals(uuids.get(i)));
//assertFalse(uuids.get(i - 1).equals(uuids.get(i)));
if (uuids.get(i - 1).equals(uuids.get(i))) {
System.out.println("DOH");
}
}
}
}