Skip to content

Commit 75ff10c

Browse files
Skipping tests with expired certificate
1 parent 289ebba commit 75ff10c

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

compiler/natives/src/crypto/tls/handshake_test.go

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010

1111
// Same as upstream, except we check for GOARCH=ecmascript instead of wasm.
1212
// This override can be removed after https://github.com/golang/go/pull/51827
13-
// is available in the upstream (likely in Go 1.19).
13+
// is available in the upstream (likely after Go 1.19).
1414
func TestServerHandshakeContextCancellation(t *testing.T) {
1515
c, s := localPipe(t)
1616
ctx, cancel := context.WithCancel(context.Background())
@@ -42,7 +42,7 @@ func TestServerHandshakeContextCancellation(t *testing.T) {
4242

4343
// Same as upstream, except we check for GOARCH=ecmascript instead of wasm.
4444
// This override can be removed after https://github.com/golang/go/pull/51827
45-
// is available in the upstream (likely in Go 1.19).
45+
// is available in the upstream (likely after Go 1.19).
4646
func TestClientHandshakeContextCancellation(t *testing.T) {
4747
c, s := localPipe(t)
4848
ctx, cancel := context.WithCancel(context.Background())
@@ -71,3 +71,15 @@ func TestClientHandshakeContextCancellation(t *testing.T) {
7171
t.Error("Client connection was not closed when the context was canceled")
7272
}
7373
}
74+
75+
func TestVerifyConnection(t *testing.T) {
76+
// This should be rechecked after upgrading to Go 1.20 or later.
77+
// go1.19.13/src/crypto/tls/handshake_test.go:testRSACertificateIssuer has expired.
78+
t.Skip("Skipping test that uses predefined certificate that expired in Jan 1st 2025")
79+
}
80+
81+
func TestResumptionKeepsOCSPAndSCT(t *testing.T) {
82+
// This should be rechecked after upgrading to Go 1.20 or later.
83+
// go1.19.13/src/crypto/tls/handshake_test.go:testRSACertificateIssuer has expired.
84+
t.Skip("Skipping test that uses predefined certificate that expired in Jan 1st 2025")
85+
}

0 commit comments

Comments
 (0)