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

CI: Ignore goleak in TSDB test
pull/8975/head^2
Julien Pivotto 5 years ago committed by GitHub
commit fa6b2897f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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) {

Loading…
Cancel
Save