aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland Shoemaker <roland@golang.org>2023-06-23 12:07:19 -0700
committerGopher Robot <gobot@golang.org>2023-06-23 19:48:23 +0000
commit3619255777ca544a08e1051ee641a1c1e2d0a903 (patch)
tree7e2fbca94c4eeff4d464ee2559c2e9b67c159aaa
parent48dbb6227acf3ebc8ac21924567aa2b6d5064915 (diff)
downloadgo-3619255777ca544a08e1051ee641a1c1e2d0a903.tar.gz
go-3619255777ca544a08e1051ee641a1c1e2d0a903.zip
crypto/x509: rename duplicated test
Rename the old TestPlatformVerifier to TestPlatformVerifierLegacy, and add TODO about removing it once the synthetic root is widely deployed on builders. Updates #52108 Change-Id: I6cdba268e4738804c7f76ea18c354470b3e0318c Reviewed-on: https://go-review.googlesource.com/c/go/+/505755 Run-TryBot: Roland Shoemaker <roland@golang.org> Auto-Submit: Roland Shoemaker <roland@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Bryan Mills <bcmills@google.com>
-rw-r--r--src/crypto/x509/root_darwin_test.go4
-rw-r--r--src/crypto/x509/root_windows_test.go4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/crypto/x509/root_darwin_test.go b/src/crypto/x509/root_darwin_test.go
index df7ca99308..e6b52e9f91 100644
--- a/src/crypto/x509/root_darwin_test.go
+++ b/src/crypto/x509/root_darwin_test.go
@@ -12,7 +12,9 @@ import (
"time"
)
-func TestPlatformVerifier(t *testing.T) {
+func TestPlatformVerifierLegacy(t *testing.T) {
+ // TODO(#52108): This can be removed once the synthetic test root is deployed on
+ // builders.
if !testenv.HasExternalNetwork() {
t.Skip()
}
diff --git a/src/crypto/x509/root_windows_test.go b/src/crypto/x509/root_windows_test.go
index 54dbc161dc..1372c043b2 100644
--- a/src/crypto/x509/root_windows_test.go
+++ b/src/crypto/x509/root_windows_test.go
@@ -16,7 +16,9 @@ import (
"time"
)
-func TestPlatformVerifier(t *testing.T) {
+func TestPlatformVerifierLegacy(t *testing.T) {
+ // TODO(#52108): This can be removed once the synthetic test root is deployed on
+ // builders.
if !testenv.HasExternalNetwork() {
t.Skip()
}