diff --git a/src/mime/type_test.go b/src/mime/type_test.go index 2e55468dd7..6bdf37b635 100644 --- a/src/mime/type_test.go +++ b/src/mime/type_test.go @@ -5,6 +5,7 @@ package mime import ( + "internal/asan" "slices" "strings" "sync" @@ -143,6 +144,9 @@ func TestExtensionsByType(t *testing.T) { } func TestLookupMallocs(t *testing.T) { + if asan.Enabled { + t.Skip("test allocates more with -asan; see #70079") + } n := testing.AllocsPerRun(10000, func() { TypeByExtension(".html") TypeByExtension(".HtML")