MCPcopy Create free account
hub / github.com/dgraph-io/dgraph / getTestXidmapOpts

Function getTestXidmapOpts

xidmap/xidmap_test.go:40–46  ·  view source on GitHub ↗
(conn *grpc.ClientConn, db *badger.DB)

Source from the content-addressed store, hash-verified

38}
39
40func getTestXidmapOpts(conn *grpc.ClientConn, db *badger.DB) XidMapOptions {
41 return XidMapOptions{
42 UidAssigner: conn,
43 DgClient: nil,
44 DB: db,
45 }
46}
47
48func TestXidmap(t *testing.T) {
49 conn, err := x.SetupConnection(testutil.GetSockAddrZero(), nil, false)

Callers 6

TestXidmapFunction · 0.85
TestXidmapMemoryFunction · 0.85
BenchmarkXidmapWritesFunction · 0.85
BenchmarkXidmapReadsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…