adelapena commented on code in PR #1891:
URL: https://github.com/apache/cassandra/pull/1891#discussion_r1107042468
##########
test/unit/org/apache/cassandra/db/NativeCellTest.java:
##########
@@ -125,7 +125,7 @@ private static Cell<?> rndcell(ColumnMetadata col)
{
long timestamp = rand.nextLong();
int ttl = rand.nextInt();
- int localDeletionTime = rand.nextInt();
+ long localDeletionTime = Math.abs(rand.nextInt());
Review Comment:
Maybe this would be clearer with
`Cell.deletionTimeGuavaUintToLong(rand.nextInt())`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]