func (f *fakeRunCommand) ensureServiceInstalled(dataDir string, statePort, oplogSizeMB int, setNumaControlPolicy bool, version mongo.Version, auth bool) error { ran := []string{"mongo.EnsureServiceInstalled", dataDir, strconv.Itoa(statePort), strconv.Itoa(oplogSizeMB), strconv.FormatBool(setNumaControlPolicy), version.String(), strconv.FormatBool(auth)} f.ranCommands = append(f.ranCommands, ran) return nil }
// SetMongoVersion implements configSetterOnly. func (c *configInternal) SetMongoVersion(v mongo.Version) { c.mongoVersion = v.String() }