diff options
| author | Roland Shoemaker <roland@golang.org> | 2022-09-23 18:41:02 -0700 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2022-09-26 16:16:30 +0000 |
| commit | eccd6366d1be82f8df741718dcdd586eea618221 (patch) | |
| tree | 07ecfdbf46a09e0d965a47e7ad0e2c5751a0c8b8 | |
| parent | 4ba4fb4dd9e7f7ed9053fb45482e9a725c7e3fb4 (diff) | |
| download | go-x-crypto-eccd6366d1be82f8df741718dcdd586eea618221.tar.xz | |
acme/autocert: remove TestRenewFromCache skips
Removes the skips from TestRenewFromCache and
TestRenewFromCacheAlreadyRenewed, which were added due to flakes which
may have been fixed by the renewal timer change.
Updates golang/go#51080
Change-Id: Ib953a24e610e89dfbbea450a4c257c105055ce7e
Reviewed-on: https://go-review.googlesource.com/c/crypto/+/433815
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>
| -rw-r--r-- | acme/autocert/renewal_test.go | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/acme/autocert/renewal_test.go b/acme/autocert/renewal_test.go index 460a384..ffe4af2 100644 --- a/acme/autocert/renewal_test.go +++ b/acme/autocert/renewal_test.go @@ -8,7 +8,6 @@ import ( "context" "crypto" "crypto/ecdsa" - "runtime" "testing" "time" @@ -43,15 +42,6 @@ func TestRenewalNext(t *testing.T) { } func TestRenewFromCache(t *testing.T) { - if runtime.GOOS == "windows" && runtime.GOARCH == "arm64" { - // This test was observed to fail frequently in Dial with "connectex: No - // connection could be made because the target machine actively refused it." - // - // Failures started around CL 381715, so it looks to me (bcmills) like an - // undiagnosed bug in (or exposed by) acmetest.CAServer. - t.Skipf("skipping test on windows/arm64: see https://go.dev/issue/51080") - } - man := testManager(t) man.RenewBefore = 24 * time.Hour @@ -137,15 +127,6 @@ func TestRenewFromCache(t *testing.T) { } func TestRenewFromCacheAlreadyRenewed(t *testing.T) { - if runtime.GOOS == "windows" && runtime.GOARCH == "arm64" { - // This test was observed to fail frequently in Dial with "connectex: No - // connection could be made because the target machine actively refused it." - // - // Failures started around CL 381715, so it looks to me (bcmills) like an - // undiagnosed bug in (or exposed by) acmetest.CAServer. - t.Skipf("skipping test on windows/arm64: see https://go.dev/issue/51080") - } - ca := acmetest.NewCAServer(t).Start() man := testManager(t) man.RenewBefore = 24 * time.Hour |
