diff --git a/src/context/x_test.go b/src/context/x_test.go index ab3c2757cf..82a8c45c54 100644 --- a/src/context/x_test.go +++ b/src/context/x_test.go @@ -8,6 +8,7 @@ import ( . "context" "errors" "fmt" + "internal/asan" "math/rand" "runtime" "strings" @@ -264,6 +265,9 @@ func TestValues(t *testing.T) { } func TestAllocs(t *testing.T) { + if asan.Enabled { + t.Skip("test allocates more with -asan") + } bg := Background() for _, test := range []struct { desc string