MCPcopy Create free account
hub / github.com/CovenantSQL/CovenantSQL / TestMain

Function TestMain

cmd/cql-minerd/integration_test.go:92–98  ·  view source on GitHub ↗
(m *testing.M)

Source from the content-addressed store, hash-verified

90}
91
92func TestMain(m *testing.M) {
93 flag.Parse()
94 if benchMinerDirectRPC {
95 naconn.RegisterResolver(rpc.NewDirectResolver())
96 }
97 os.Exit(m.Run())
98}
99
100func startNodes() {
101 ctx := context.Background()

Callers

nothing calls this directly

Calls 1

RegisterResolverFunction · 0.92

Tested by

no test coverage detected