adelapena commented on code in PR #1891:
URL: https://github.com/apache/cassandra/pull/1891#discussion_r1123052649


##########
test/unit/org/apache/cassandra/utils/CassandraGenerators.java:
##########
@@ -99,7 +100,7 @@
 
     private static final Gen<SinglePartitionReadCommand> 
SINGLE_PARTITION_READ_COMMAND_GEN = gen(rnd -> {
         TableMetadata metadata = TABLE_METADATA_GEN.generate(rnd);
-        int nowInSec = (int) rnd.next(Constraint.between(1, 
Integer.MAX_VALUE));
+        long nowInSec = rnd.next(Constraint.between(1, 
Cell.MAX_DELETION_TIME));

Review Comment:
   That's what I'm asking, why that's the max that makes sense. That's a write 
time, and not a deletion time, isn't it?



-- 
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]

Reply via email to