Allocates more with -asan after CL 653795.
Change-Id: Ib8cc1de1d649623713b6fc123c1c59a47528857b
Reviewed-on: https://go-review.googlesource.com/c/go/+/654876
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Damien Neil <dneil@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
. "context"
"errors"
"fmt"
+ "internal/asan"
"math/rand"
"runtime"
"strings"
}
func TestAllocs(t *testing.T) {
+ if asan.Enabled {
+ t.Skip("test allocates more with -asan")
+ }
bg := Background()
for _, test := range []struct {
desc string