Skip to content

Commit 1d69b64

Browse files
rolandshoemakerbradfitz
authored andcommitted
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 golang#52108 Change-Id: I6cdba268e4738804c7f76ea18c354470b3e0318c Reviewed-on: https://go-review.googlesource.com/c/go/+/505755 Run-TryBot: Roland Shoemaker <[email protected]> Auto-Submit: Roland Shoemaker <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Bryan Mills <[email protected]>
1 parent 4830ad9 commit 1d69b64

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/crypto/x509/root_darwin_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ import (
1212
"time"
1313
)
1414

15-
func TestPlatformVerifier(t *testing.T) {
15+
func TestPlatformVerifierLegacy(t *testing.T) {
16+
// TODO(#52108): This can be removed once the synthetic test root is deployed on
17+
// builders.
1618
if !testenv.HasExternalNetwork() {
1719
t.Skip()
1820
}

src/crypto/x509/root_windows_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ import (
1616
"time"
1717
)
1818

19-
func TestPlatformVerifier(t *testing.T) {
19+
func TestPlatformVerifierLegacy(t *testing.T) {
20+
// TODO(#52108): This can be removed once the synthetic test root is deployed on
21+
// builders.
2022
if !testenv.HasExternalNetwork() {
2123
t.Skip()
2224
}

0 commit comments

Comments
 (0)