Skip to content

Commit

Permalink
nit: remove count variable
Browse files Browse the repository at this point in the history
  • Loading branch information
salvatore-campagna committed Nov 13, 2024
1 parent e1150cc commit bfcef44
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,11 @@ public void testTimeBasedUUIDSequenceOverflow() {
// The sequence ID is set close to its max value (0x00FF_FFFF) to quickly trigger an overflow.
// However, since we are generating only 1000 UUIDs, the timestamp is expected to change at least once,
// ensuring uniqueness even if the sequence ID wraps around.
final int count = 1000;
assertEquals(
count,
1000,
generateUUIDs(
createGenerator(() -> Instant.now().toEpochMilli(), () -> 0x00FF_FFFF - 10, new TestRandomMacAddressSupplier()),
count
1000
).size()
);
}
Expand Down

0 comments on commit bfcef44

Please sign in to comment.