From 437c470c40354af4eae430e985e6238487926230 Mon Sep 17 00:00:00 2001 From: Levi Harrison Date: Thu, 17 Jun 2021 10:04:52 -0400 Subject: [PATCH] Added ignore 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 ddd44f2c7..677e65da4 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.VerifyTestMain(m, goleak.IgnoreTopFunction("github.com/prometheus/prometheus/tsdb.(*SegmentWAL).cut.func2")) } func openTestDB(t testing.TB, opts *Options, rngs []int64) (db *DB) {