Skip to content

Commit

Permalink
test(core): fix fuzz test setup / by zero exception (#5095)
Browse files Browse the repository at this point in the history
  • Loading branch information
ideoma authored Oct 23, 2024
1 parent be21eca commit 3ae8efb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -833,7 +833,7 @@ private void testDedupWithRandomShiftAndStepAndColumnTops(Rnd rnd, short columTy
? symbols
: Arrays.copyOf(symbols, 1 + rnd.nextInt(symbols.length - 1));

long fromTops = startTimestamp + rnd.nextLong(startCount) * initialDelta;
long fromTops = startTimestamp + (startCount > 0 ? rnd.nextLong(startCount) : 0) * initialDelta;
generateInsertsTransactions(
transactions,
1,
Expand Down

0 comments on commit 3ae8efb

Please sign in to comment.