mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 05:34:05 -08:00
Merge pull request #8956 from LeviHarrison/fix-tsdb-test-flake
CI: Ignore goleak in TSDB test
This commit is contained in:
commit
fa6b2897f0
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue