Parcourir la source

Batches are not supported so well in Cassandra 1.x

Ben Hood il y a 11 ans
Parent
commit
2934f540f2
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5 0
      cassandra_test.go

+ 5 - 0
cassandra_test.go

@@ -656,6 +656,11 @@ func TestBoundQueryInfo(t *testing.T) {
 }
 
 func TestBatchQueryInfo(t *testing.T) {
+
+	if *flagProto == 1 {
+		t.Skip("atomic batches not supported. Please use Cassandra >= 2.0")
+	}
+
 	session := createSession(t)
 	defer session.Close()