From: Roland Shoemaker Date: Fri, 23 Jun 2023 19:07:19 +0000 (-0700) Subject: crypto/x509: rename duplicated test X-Git-Tag: go1.21rc3~2^2~63 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=3619255777ca544a08e1051ee641a1c1e2d0a903;p=gostls13.git 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 --- 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() }