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

View file

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