From 3619255777ca544a08e1051ee641a1c1e2d0a903 Mon Sep 17 00:00:00 2001 From: Roland Shoemaker Date: Fri, 23 Jun 2023 12:07:19 -0700 Subject: 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 Auto-Submit: Roland Shoemaker TryBot-Result: Gopher Robot Reviewed-by: Bryan Mills --- src/crypto/x509/root_darwin_test.go | 4 +++- src/crypto/x509/root_windows_test.go | 4 +++- 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() } -- cgit v1.2.3-54-g00ecf