Elffuss BraidHub

kikocis/java-driver public

Mark SimpleStatement w/ Parameters tests as requiring C* 2.0
Changesetb3996311c413ecfb5fd17de9f0b8a5f555d3bd5e412fd746cafd2a497209198b
AuthorAndrew Tolbert <andrew.tolbert@datastax.com> · 2016-03-02 17:37 -06:00
CommitterAndrew Tolbert <andrew.tolbert@datastax.com> · 2016-03-02 17:37 -06:00
Parentsc2cdc3b9eac6

Browse the files at this changeset

1 file changed

modified driver-core/src/test/java/com/datastax/driver/core/QueryLoggerTest.java +7 −0
@@ -421,6 +421,7 @@
421421 }
422422
423423 @Test(groups = "short")
424+ @CassandraVersion(major = 2.0)
424425 public void should_log_non_null_positional_parameter_simple_statements() throws Exception {
425426 // given
426427 normal.setLevel(TRACE);
@@ -464,6 +465,7 @@
464465 }
465466
466467 @Test(groups = "short")
468+ @CassandraVersion(major = 2.0)
467469 public void should_log_null_parameter_simple_statements() throws Exception {
468470 // given
469471 normal.setLevel(TRACE);
@@ -564,6 +566,7 @@
564566 }
565567
566568 @Test(groups = "short")
569+ @CassandraVersion(major = 2.0)
567570 public void should_log_all_parameter_types_simple_statements() throws Exception {
568571 // given
569572 normal.setLevel(TRACE);
@@ -727,6 +730,7 @@
727730 }
728731
729732 @Test(groups = "short")
733+ @CassandraVersion(major = 2.0)
730734 public void should_truncate_blob_parameter_when_max_length_exceeded_simple_statements() throws Exception {
731735 // given
732736 normal.setLevel(TRACE);
@@ -772,6 +776,7 @@
772776 }
773777
774778 @Test(groups = "short")
779+ @CassandraVersion(major = 2.0)
775780 public void should_not_truncate_parameter_when_max_length_unlimited_simple_statements() throws Exception {
776781 // given
777782 normal.setLevel(TRACE);
@@ -818,6 +823,7 @@
818823 }
819824
820825 @Test(groups = "short")
826+ @CassandraVersion(major = 2.0)
821827 public void should_not_log_exceeding_number_of_parameters_simple_statements() throws Exception {
822828 // given
823829 normal.setLevel(TRACE);
@@ -924,6 +930,7 @@
924930 }
925931
926932 @Test(groups = "short")
933+ @CassandraVersion(major = 2.0)
927934 public void should_log_all_parameters_when_max_unlimited_simple_statements() throws Exception {
928935 // given
929936 normal.setLevel(TRACE);