Skip to content

Commit

Permalink
crypto/internal/fips/aes/gcm: skip TestAllocations on PPC64
Browse files Browse the repository at this point in the history
TestAllocations is failing on PPC64 causing all PPC64 CI to fail.

Skip the test until it can be debugged.

For #70448

Change-Id: Ic18e402f4af5939a90eba2e1f2b182699013ed55
Reviewed-on: https://go-review.googlesource.com/c/go/+/629697
Reviewed-by: Filippo Valsorda <[email protected]>
Reviewed-by: Dmitri Shuralyov <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
Reviewed-by: Cherry Mui <[email protected]>
  • Loading branch information
pmur committed Nov 19, 2024
1 parent 8f9a420 commit 2e60747
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/crypto/internal/fips/aes/gcm/ctrkdf_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,14 @@ import (
"crypto/internal/fips/drbg"
"crypto/internal/fips/sha3"
"encoding/hex"
"runtime"
"testing"
)

func TestAllocations(t *testing.T) {
if runtime.GOARCH == "ppc64" || runtime.GOARCH == "ppc64le" {
t.Skip("Test reports non-zero allocation count. See issue #70448")
}
cryptotest.SkipTestAllocations(t)
if allocs := testing.AllocsPerRun(10, func() {
key := make([]byte, 32)
Expand Down

0 comments on commit 2e60747

Please sign in to comment.