소스 검색

Fixed cluster flag data type

Ben Hood 11 년 전
부모
커밋
7cadac407c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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
 )