Also ignore `func1`

Signed-off-by: Levi Harrison <git@leviharrison.dev>
This commit is contained in:
Levi Harrison 2021-08-28 22:42:22 -04:00
parent d5676fb9e0
commit 06afe6162c
No known key found for this signature in database
GPG Key ID: 23A7BDEAE860B57D
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ import (
) )
func TestMain(m *testing.M) { 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) { func openTestDB(t testing.TB, opts *Options, rngs []int64) (db *DB) {