maedhroz commented on code in PR #3459:
URL: https://github.com/apache/cassandra/pull/3459#discussion_r1707765933
##########
test/distributed/org/apache/cassandra/fuzz/harry/examples/RangeTombstoneBurnTest.java:
##########
@@ -84,41 +84,35 @@ public void rangeTombstoneBurnTest() throws Throwable
DataTracker tracker = new DefaultDataTracker();
modelChecker.init(new ReplayingHistoryBuilder(seed,
maxPartitionSize, STEPS_PER_ITERATION, new DefaultDataTracker(), sut, schema,
rf, SystemUnderTest.ConsistencyLevel.ALL))
- .step((history) -> {
- int rowIdx =
entropySource.nextInt(maxPartitionSize);
- int partitionIdx =
partitions[entropySource.nextInt(partitions.length)];
+ .step((history, rng) -> {
Review Comment:
It doesn't look like it matters, but should the other calls to `step()` use
the `rng` passed by `ModelChecker#run()`? Or to flip that around, does this
first step even need to?
--
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]