Nicholas Husin would like Damien Neil to review this change.
net: fix TestLookupCNAME
The CNAME record for www.iana.org seems to have been changed, causing
test failures.
Change the test to just use www.golang.org, so we have more control and
awareness of such changes in the future.
Fixes #80212
diff --git a/src/net/lookup_test.go b/src/net/lookup_test.go
index 42211ed..afa7e4c 100644
--- a/src/net/lookup_test.go
+++ b/src/net/lookup_test.go
@@ -335,8 +335,8 @@
var lookupCNAMETests = []struct {
name, cname string
}{
- {"www.iana.org", "icann.org."},
- {"www.iana.org.", "icann.org."},
+ {"www.golang.org", "golang.org."},
+ {"www.golang.org.", "golang.org."},
{"www.google.com", "google.com."},
{"google.com", "google.com."},
{"cname-to-txt.go4.org", "test-txt-record.go4.org."},
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Auto-Submit | +1 |
| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[release-branch.go1.26] net: fix TestLookupCNAME
The CNAME record for www.iana.org seems to have been changed, causing
test failures.
Change the test to just use www.golang.org, so we have more control and
awareness of such changes in the future.
For #80212
Fixes #80217
diff --git a/src/net/lookup_test.go b/src/net/lookup_test.go
index 42211ed..afa7e4c 100644
--- a/src/net/lookup_test.go
+++ b/src/net/lookup_test.go
@@ -335,8 +335,8 @@
var lookupCNAMETests = []struct {
name, cname string
}{
- {"www.iana.org", "icann.org."},
- {"www.iana.org.", "icann.org."},
+ {"www.golang.org", "golang.org."},
+ {"www.golang.org.", "golang.org."},
{"www.google.com", "google.com."},
{"google.com", "google.com."},
{"cname-to-txt.go4.org", "test-txt-record.go4.org."},
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[release-branch.go1.25] net: fix TestLookupCNAME
The CNAME record for www.iana.org seems to have been changed, causing
test failures.
Change the test to just use www.golang.org, so we have more control and
awareness of such changes in the future.
For #80212
Fixes #80216
diff --git a/src/net/lookup_test.go b/src/net/lookup_test.go
index b9a33ac..ecbcd16 100644
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +2 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
net: fix TestLookupCNAME
The CNAME record for www.iana.org seems to have been changed, causing
test failures.
Change the test to just use www.golang.org, so we have more control and
awareness of such changes in the future.
Fixes #80212
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Auto-Submit | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[release-branch.go1.25] net: fix TestLookupCNAME
The CNAME record for www.iana.org seems to have been changed, causing
test failures.
Change the test to just use www.golang.org, so we have more control and
awareness of such changes in the future.
For #80212
Fixes #80216
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[release-branch.go1.26] net: fix TestLookupCNAME
The CNAME record for www.iana.org seems to have been changed, causing
test failures.
Change the test to just use www.golang.org, so we have more control and
awareness of such changes in the future.
For #80212
Fixes #80217
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |