Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ public void testSelectWithTimeRange() throws Exception {
}
}
Random rand = new Random();
int randMinTSpos = rand.nextInt(lastDeletionTSpos - 1);
int randMinTSpos = rand.nextInt(Math.max(1, lastDeletionTSpos - 1));
int randMaxTSpos =
randMinTSpos + 1 + rand.nextInt(uniqueTimestamps.size() - (randMinTSpos + 1));
verifyChangesViaSCN(tenantId, conn, cdcFullName, pkColumns, datatableName, dataColumns,
Expand Down