Explorar el Código

Fixed cluster flag data type

Ben Hood hace 11 años
padre
commit
7cadac407c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      cassandra_test.go

+ 1 - 1
cassandra_test.go

@@ -28,7 +28,7 @@ var (
 	flagCQL      = flag.String("cql", "3.0.0", "CQL version")
 	flagRF       = flag.Int("rf", 1, "replication factor for test keyspace")
 	flagRetry    = flag.Int("retries", 5, "number of times to retry queries")
-	clusterSize  = 1
+	clusterSize  = *flag.Int("clusterSize", 1, "the expected size of the cluster")
 	clusterHosts []string
 )