maedhroz commented on code in PR #2190:
URL: https://github.com/apache/cassandra/pull/2190#discussion_r1126828197


##########
test/unit/org/apache/cassandra/cql3/PreparedStatementsTest.java:
##########
@@ -581,4 +653,126 @@ private void testPrepareWithBatchLWT(ProtocolVersion 
version) throws Throwable
                       row(false, 1, 10, 20, null));
         assertEquals(rs.getColumnDefinitions().size(), 5);
     }
+
+    @Test
+    public void testPrepareWithAccordV4()
+    {
+        testPrepareWithAccord(ProtocolVersion.V4);
+    }
+
+    @Test
+    public void testPrepareWithAccordV5()
+    {
+        Assume.assumeTrue("Protocol v5 is CURRENT", ProtocolVersion.CURRENT != 
ProtocolVersion.V5);
+        testPrepareWithAccord(ProtocolVersion.V5);
+    }
+
+    @Test
+    public void testPrepareWithAccordCurrent()
+    {
+        testPrepareWithAccord(ProtocolVersion.CURRENT);

Review Comment:
   nit: Maybe just parameterize on `SUPPORTED_VERSIONS`?



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