Merge pull request #8956 from LeviHarrison/fix-tsdb-test-flake

CI: Ignore goleak in TSDB test
This commit is contained in:
Julien Pivotto 2021-06-20 23:41:55 +02:00 committed by GitHub
commit fa6b2897f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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) {