Explorar el Código

Added skip to TestBatchStats

Phillip Couto hace 11 años
padre
commit
32cb8f5266
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      cassandra_test.go

+ 3 - 0
cassandra_test.go

@@ -1189,6 +1189,9 @@ func TestQueryStats(t *testing.T) {
 
 //TestBatchStats confirms that the stats are returning valid data. Accuracy may be questionable.
 func TestBatchStats(t *testing.T) {
+	if *flagProto == 1 {
+		t.Skip("atomic batches not supported. Please use Cassandra >= 2.0")
+	}
 	session := createSession(t)
 	defer session.Close()