1
0
mirror of https://github.com/golang/go synced 2024-11-11 17:51:49 -07:00

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>
This commit is contained in:
Roland Shoemaker 2023-06-23 12:07:19 -07:00 committed by Gopher Robot
parent 48dbb6227a
commit 3619255777
2 changed files with 6 additions and 2 deletions

View File

@ -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()
}

View File

@ -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()
}