From 66cef61444e132f77edfb19154e1fa2deac11657 Mon Sep 17 00:00:00 2001 From: Piotr Tabor Date: Thu, 4 Mar 2021 22:28:44 +0100 Subject: [PATCH] Detect leaked go-routines bases on pre-normalization syntax. --- pkg/testutil/leak.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/testutil/leak.go b/pkg/testutil/leak.go index f13eb5e85..504ef962c 100644 --- a/pkg/testutil/leak.go +++ b/pkg/testutil/leak.go @@ -126,7 +126,7 @@ func interestingGoroutines() (gs []string) { strings.Contains(stack, "created by text/template/parse.lex") || strings.Contains(stack, "runtime.MHeap_Scavenger") || strings.Contains(stack, "rcrypto/internal/boring.(*PublicKeyRSA).finalize") || - strings.Contains(stack, "net.(*netFD).Close(...)") { + strings.Contains(stack, "net.(*netFD).Close(") { continue } gs = append(gs, stack)