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


##########
test/distributed/org/apache/cassandra/distributed/test/cql3/AccordInteropMultiNodeTableWalkBase.java:
##########
@@ -83,9 +85,27 @@ protected State createState(RandomSource rs, Cluster cluster)
 
     public class AccordInteropMultiNodeState extends MultiNodeState
     {
+        private final boolean allowUsingTimestamp;
+
         public AccordInteropMultiNodeState(RandomSource rs, Cluster cluster)
         {
             super(rs, cluster);
+            allowUsingTimestamp = rs.nextBoolean();
+        }
+
+        @Override
+        protected void createTable(TableMetadata metadata)
+        {
+            super.createTable(metadata);
+            Epoch maxEpoch = ClusterUtils.maxEpoch(cluster);
+            ClusterUtils.waitForCMSToQuiesce(cluster, maxEpoch);
+            ClusterUtils.awaitAccordEpochReady(cluster, maxEpoch.getEpoch());

Review Comment:
   race condition bug making these tests flakey.  We would start work *before* 
it was ready in accord.



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