File tree 1 file changed +19
-0
lines changed 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 8
8
"context"
9
9
"crypto"
10
10
"crypto/ecdsa"
11
+ "runtime"
11
12
"testing"
12
13
"time"
13
14
@@ -42,6 +43,15 @@ func TestRenewalNext(t *testing.T) {
42
43
}
43
44
44
45
func TestRenewFromCache (t * testing.T ) {
46
+ if runtime .GOOS == "windows" && runtime .GOARCH == "arm64" {
47
+ // This test was observed to fail frequently in Dial with "connectex: No
48
+ // connection could be made because the target machine actively refused it."
49
+ //
50
+ // Failures started around CL 381715, so it looks to me (bcmills) like an
51
+ // undiagnosed bug in (or exposed by) acmetest.CAServer.
52
+ t .Skipf ("skipping test on windows/arm64: see https://go.dev/issue/51080" )
53
+ }
54
+
45
55
man := testManager (t )
46
56
man .RenewBefore = 24 * time .Hour
47
57
@@ -127,6 +137,15 @@ func TestRenewFromCache(t *testing.T) {
127
137
}
128
138
129
139
func TestRenewFromCacheAlreadyRenewed (t * testing.T ) {
140
+ if runtime .GOOS == "windows" && runtime .GOARCH == "arm64" {
141
+ // This test was observed to fail frequently in Dial with "connectex: No
142
+ // connection could be made because the target machine actively refused it."
143
+ //
144
+ // Failures started around CL 381715, so it looks to me (bcmills) like an
145
+ // undiagnosed bug in (or exposed by) acmetest.CAServer.
146
+ t .Skipf ("skipping test on windows/arm64: see https://go.dev/issue/51080" )
147
+ }
148
+
130
149
ca := acmetest .NewCAServer (t ).Start ()
131
150
man := testManager (t )
132
151
man .RenewBefore = 24 * time .Hour
You can’t perform that action at this time.
0 commit comments