Explorar o código

Batches are not supported so well in Cassandra 1.x

Ben Hood %!s(int64=11) %!d(string=hai) anos
pai
achega
2934f540f2
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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()