]> Cypherpunks repositories - gostls13.git/commitdiff
[release-branch.go1.16] runtime/pprof: skip tests for AIX
authorClément Chigot <chigot.c@gmail.com>
Thu, 1 Apr 2021 08:06:05 +0000 (10:06 +0200)
committerHeschi Kreinick <heschi@google.com>
Wed, 5 May 2021 21:05:09 +0000 (21:05 +0000)
Most of the time, the pprof tests are passing, except
for the builder. The reason is still unknown but I'd rather release
the builder to avoid missing other more important bugs.

Updates #45170

Change-Id: I667543ee1ae309b7319c5b3676a0901b4d0ecf2e
Reviewed-on: https://go-review.googlesource.com/c/go/+/306489
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Trust: Lynn Boger <laboger@linux.vnet.ibm.com>
(cherry picked from commit 7bfd681c2f11918c6245ad2906b2efc12eda2914)
Reviewed-on: https://go-review.googlesource.com/c/go/+/317297
Trust: Heschi Kreinick <heschi@google.com>
Run-TryBot: Heschi Kreinick <heschi@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
src/runtime/pprof/pprof_test.go

index b6ee160e847155eaf91705b6bdbce61cd2e5c481..0e0cccbc6a6a54f59bf10770453f2d957eac2fab 100644 (file)
@@ -279,7 +279,8 @@ func testCPUProfile(t *testing.T, matches matchFunc, need []string, avoid []stri
 
        broken := false
        switch runtime.GOOS {
-       case "darwin", "ios", "dragonfly", "netbsd", "illumos", "solaris":
+       // See https://golang.org/issue/45170 for AIX.
+       case "darwin", "ios", "dragonfly", "netbsd", "illumos", "solaris", "aix":
                broken = true
        case "openbsd":
                if runtime.GOARCH == "arm" || runtime.GOARCH == "arm64" {