MCPcopy Create free account
hub / github.com/CPChain/chain / TestResolveDomain

Function TestResolveDomain

configs/general_test.go:184–189  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

182}
183
184func TestResolveDomain(t *testing.T) {
185 t.Skip("skip it because it always success on some machines")
186 _, err := resolveDomain("notexist.mainnet.cpc-notexist.com:8533")
187 fmt.Println("err", err)
188 assert.NotNil(t, err)
189}
190
191func TestResolveDomain1(t *testing.T) {
192 host, err := resolveDomain("v01.mainnet.cpc-servers.com")

Callers

nothing calls this directly

Calls 1

resolveDomainFunction · 0.85

Tested by

no test coverage detected