MCPcopy
hub / github.com/dgraph-io/dgraph / WithNumZeros

Method WithNumZeros

dgraphtest/config.go:154–157  ·  view source on GitHub ↗

WithNumZeros sets the number of zero nodes in the Dgraph cluster

(n int)

Source from the content-addressed store, hash-verified

152
153// WithNumZeros sets the number of zero nodes in the Dgraph cluster
154func (cc ClusterConfig) WithNumZeros(n int) ClusterConfig {
155 cc.numZeros = n
156 return cc
157}
158
159// WithReplicas sets the number of replicas in each alpha group
160func (cc ClusterConfig) WithReplicas(n int) ClusterConfig {

Callers 15

TestCheckUpgradeFunction · 0.80
TestQueryDuplicateNodesFunction · 0.80
setupBulkClusterFunction · 0.80
setupTargetClusterFunction · 0.80
TestMCPSSEFunction · 0.80
TestMainFunction · 0.80
TestShortestPathFunction · 0.80
SetupSubTestMethod · 0.80

Calls

no outgoing calls

Tested by 15

TestCheckUpgradeFunction · 0.64
TestQueryDuplicateNodesFunction · 0.64
setupBulkClusterFunction · 0.64
setupTargetClusterFunction · 0.64
TestMCPSSEFunction · 0.64
TestMainFunction · 0.64
TestShortestPathFunction · 0.64
SetupSubTestMethod · 0.64