]> Cypherpunks repositories - gostls13.git/commit
net: root the nodata test domain to avoid search domains
authorMateusz Poliwczak <mpoliwczak34@gmail.com>
Mon, 15 May 2023 09:33:40 +0000 (09:33 +0000)
committerGopher Robot <gobot@golang.org>
Wed, 24 May 2023 22:38:08 +0000 (22:38 +0000)
commitbc2095280e4f607c30397a15a89ca8347b019918
tree906f0c6aa000c81718290848a8b22fb09f0cff16
parent1079e574d4f09520c987c7a0405c2d1ae2a275b3
net: root the nodata test domain to avoid search domains

I came across similar issue in CL 455275.
Without rooting this, the search domains might affect
the query, so the test might not prove the right thing.
The search domain will cause a change from no data
to NXDOMAIN error.

Change-Id: I59f4de2635f03c69adf29b74e25e4ebd71e7413b
GitHub-Last-Rev: 3a086c74f1453e4d1f2e88631ac835389984da17
GitHub-Pull-Request: golang/go#60197
Reviewed-on: https://go-review.googlesource.com/c/go/+/494896
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
src/net/lookup_test.go