From 06afe6162c7050ce27d40e94a16a2e47f73998e1 Mon Sep 17 00:00:00 2001 From: Levi Harrison Date: Sat, 28 Aug 2021 22:42:22 -0400 Subject: [PATCH] Also ignore `func1` Signed-off-by: Levi Harrison --- tsdb/db_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsdb/db_test.go b/tsdb/db_test.go index 876a13920..26ead3fc3 100644 --- a/tsdb/db_test.go +++ b/tsdb/db_test.go @@ -54,7 +54,7 @@ import ( ) func TestMain(m *testing.M) { - goleak.VerifyTestMain(m, goleak.IgnoreTopFunction("github.com/prometheus/prometheus/tsdb.(*SegmentWAL).cut.func2")) + goleak.VerifyTestMain(m, goleak.IgnoreTopFunction("github.com/prometheus/prometheus/tsdb.(*SegmentWAL).cut.func1"), goleak.IgnoreTopFunction("github.com/prometheus/prometheus/tsdb.(*SegmentWAL).cut.func2")) } func openTestDB(t testing.TB, opts *Options, rngs []int64) (db *DB) {