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

Function TestResolveDomain1

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

Source from the content-addressed store, hash-verified

189}
190
191func TestResolveDomain1(t *testing.T) {
192 host, err := resolveDomain("v01.mainnet.cpc-servers.com")
193 fmt.Println("host", host)
194 fmt.Println("err", err)
195 if err != nil {
196 t.Skip("skip if no hosts mapping")
197 }
198}
199
200func TestResolveUrl(t *testing.T) {
201 endPoint := "http://v01.mainnet.cpc-servers.com:8533"

Callers

nothing calls this directly

Calls 1

resolveDomainFunction · 0.85

Tested by

no test coverage detected