From 1702608a6f597a306a601867e195796193c554e0 Mon Sep 17 00:00:00 2001 From: Feng Liyuan Date: Tue, 10 Nov 2020 14:41:20 +0800 Subject: [PATCH] test: ignore lumberjack.v2.(*Logger).millRun in leaktest (#20935) --- util/testleak/leaktest.go | 1 + 1 file changed, 1 insertion(+) diff --git a/util/testleak/leaktest.go b/util/testleak/leaktest.go index f967b2ffeefef..f465f951bf621 100644 --- a/util/testleak/leaktest.go +++ b/util/testleak/leaktest.go @@ -51,6 +51,7 @@ func interestingGoroutines() (gs []string) { "interestingGoroutines", "runtime.MHeap_Scavenger", "created by os/signal.init", + "gopkg.in/natefinch/lumberjack%2ev2.(*Logger).millRun", // these go routines are async terminated, so they may still alive after test end, thus cause // false positive leak failures "google.golang.org/grpc.(*addrConn).resetTransport",