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


##########
test/distributed/org/apache/cassandra/distributed/test/cql3/SingleNodeTokenConflictTest.java:
##########
@@ -383,11 +383,13 @@ class State extends CommonState
             pkValues.forEach(bb -> uniquePartitions.add(Map.of(PK, bb)));
 
 
-            this.mutationGen = toGen(new 
ASTGenerators.MutationGenBuilder(metadata)
-                                     .withTxnSafe()
-                                     
.withPartitions(SourceDSL.arbitrary().pick(uniquePartitions))
-                                     .withIgnoreIssues(IGNORED_ISSUES)
-                                     .build());
+            ASTGenerators.MutationGenBuilder mutationGenBuilder = new 
ASTGenerators.MutationGenBuilder(metadata)
+                                                                  
.withTxnSafe()
+                                                                  
.withPartitions(SourceDSL.arbitrary().pick(uniquePartitions))
+                                                                  
.withIgnoreIssues(IGNORED_ISSUES);
+            if (!allowListElementAccessForUpdateSet())
+                mutationGenBuilder.disallowListElementAccessForUpdateSet();

Review Comment:
   pushed to the 2 places with this style



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