Parcourir la source

clusterSize flag is actually a pointer

Ben Hood il y a 11 ans
Parent
commit
5bdc118bdf
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      wiki_test.go

+ 1 - 1
wiki_test.go

@@ -70,7 +70,7 @@ func (w *WikiTest) CreateSchema() {
 			attachments map<varchar, blob>,
 			PRIMARY KEY (title, revid)
 		)`)
-	if clusterSize > 1 {
+	if *clusterSize > 1 {
 		// wait for table definition to propogate
 		time.Sleep(250 * time.Millisecond)
 	}