浏览代码

Batches are not supported so well in Cassandra 1.x

Ben Hood 11 年之前
父节点
当前提交
2934f540f2
共有 1 个文件被更改,包括 5 次插入0 次删除
  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()