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

Function setClusterEdge

worker/worker_test.go:73–77  ·  view source on GitHub ↗
(t *testing.T, dg *dgo.Dgraph, rdf string)

Source from the content-addressed store, hash-verified

71}
72
73func setClusterEdge(t *testing.T, dg *dgo.Dgraph, rdf string) {
74 mu := &api.Mutation{SetNquads: []byte(rdf), CommitNow: true}
75 err := testutil.RetryMutation(dg, mu)
76 require.NoError(t, err)
77}
78
79func delClusterEdge(t *testing.T, dg *dgo.Dgraph, rdf string) {
80 mu := &api.Mutation{DelNquads: []byte(rdf), CommitNow: true}

Callers 6

populateClusterGraphFunction · 0.70
TestCountReverseIndexFunction · 0.70
TestCountIndexOverwriteFunction · 0.70
TestProcessTaskIndexFunction · 0.70

Calls 1

RetryMutationFunction · 0.92

Tested by

no test coverage detected