dcapwell commented on code in PR #4105:
URL: https://github.com/apache/cassandra/pull/4105#discussion_r2051182748


##########
test/unit/org/apache/cassandra/repair/FuzzTestBase.java:
##########
@@ -557,53 +554,12 @@ static RepairOption previewOption(RandomSource rs, 
Cluster.Node coordinator, Str
 
     private static RepairOption repairOption(RandomSource rs, Cluster.Node 
coordinator, String ks, Gen<List<String>> tablesGen, Gen<RepairType> 
repairTypeGen, Gen<PreviewType> previewTypeGen, Gen<RepairParallelism> 
repairParallelismGen)
     {
-        RepairType type = repairTypeGen.next(rs);

Review Comment:
   rather than having different tests randomize repair stuff, i pulled this out 
into `RepairGenerators` so this logic could be reused



-- 
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: pr-unsubscr...@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org
For additional commands, e-mail: pr-h...@cassandra.apache.org

Reply via email to