- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestDNSConfigNoReload (0.23 sec)
-
src/net/dnsclient_unix_test.go
if err != nil { t.Fatal(err) } if _, err := r.LookupIPAddr(context.Background(), "trustad.go.dev"); err != nil { t.Errorf("lookup failed: %v", err) } } func TestDNSConfigNoReload(t *testing.T) { r := &Resolver{PreferGo: true, Dial: func(ctx context.Context, network, address string) (Conn, error) { if address != "192.0.2.1:53" { return nil, errors.New("configuration unexpectedly changed")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:23:45 UTC 2024 - 72.4K bytes - Viewed (0)