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


##########
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:
   100% agree but didn't want to rewrite all tests.



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