Skip to content

Commit 1269b0c

Browse files
committed
Mark SimpleStatement w/ Parameters tests as requiring C* 2.0
1 parent d772049 commit 1269b0c

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

driver-core/src/test/java/com/datastax/driver/core/QueryLoggerTest.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,7 @@ public void should_log_non_null_positional_parameter_bound_statements() throws E
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 @@ public void should_log_null_parameter_bound_statements() throws Exception {
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 @@ public void should_log_all_parameter_types_bound_statements() throws Exception {
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 @@ public void should_truncate_blob_parameter_when_max_length_exceeded_bound_statem
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 @@ public void should_not_truncate_parameter_when_max_length_unlimited_bound_statem
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 @@ public void should_not_log_exceeding_number_of_parameters_bound_statements() thr
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 @@ public void should_log_all_parameters_when_max_unlimited_bound_statements() thro
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);

0 commit comments

Comments
 (0)