maedhroz commented on a change in pull request #1221:
URL: https://github.com/apache/cassandra/pull/1221#discussion_r721728297



##########
File path: test/unit/org/apache/cassandra/schema/SchemaKeyspaceTest.java
##########
@@ -63,15 +80,88 @@ public static void defineSchema() throws 
ConfigurationException
                                     SchemaLoader.standardCFMD(KEYSPACE1, 
CF_STANDARD1));
     }
 
-    /** See CASSANDRA-16856. Make sure schema pulls are synchronized to 
prevent concurrent schema pull/writes
-     *
-     * @throws Exception
-     */
+    /** See CASSANDRA-16856/16996. Make sure schema pulls are synchronized to 
prevent concurrent schema pull/writes */
+    @Test
+    @BMRule(name = "Delay system ks schema",
+            targetClass = "SchemaKeyspace",
+            targetMethod = "convertSchemaToMutations",
+            action = 
"org.apache.cassandra.schema.SchemaKeyspaceTest.threadBlock.countDown();"
+                     + 
"org.apache.cassandra.schema.SchemaKeyspaceTest.threadBlock.await();")
+    public void testSystemKeyspaceAsMutationsSynchoricity() throws Exception

Review comment:
       general spelling note: "synchoricity" -> "synchronicity"




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