Pārlūkot izejas kodu

Batches are not supported so well in Cassandra 1.x

Ben Hood 11 gadi atpakaļ
vecāks
revīzija
2934f540f2
1 mainītis faili ar 5 papildinājumiem un 0 dzēšanām
  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()