(t *testing.T)
| 182 | } |
| 183 | |
| 184 | func 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 | |
| 191 | func TestResolveDomain1(t *testing.T) { |
| 192 | host, err := resolveDomain("v01.mainnet.cpc-servers.com") |
nothing calls this directly
no test coverage detected