Skip to content
Snippets Groups Projects

Reduce the token generator test to 1s for the whole suite

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -42,7 +42,7 @@ public class TokenGeneratorTest {
public void testTokenUniqueness(final int bitLength) {
this.settings.put("token length", bitLength);
final var numUnique = 0x1000000 / bitLength;
final var numUnique = 0x20000 / bitLength;
logger.info("Generating {} (hopefully) unique {}-bit tokens", numUnique, bitLength);
assertThat(IntStream.range(0, numUnique)
Loading