Browse Source

cassandra 2.0 does not have frozen types

Chris Bannister 10 năm trước cách đây
mục cha
commit
095fd14d7a
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      cassandra_test.go

+ 3 - 0
cassandra_test.go

@@ -2420,6 +2420,9 @@ close:
 }
 
 func TestUnmarshallNestedTypes(t *testing.T) {
+	if *flagProto < protoVersion3 {
+		t.Skip("can not have frozen types in cassandra < 2.1.3")
+	}
 	session := createSession(t)
 	defer session.Close()