github.com/ethersphere/bee/v2@v2.2.0/pkg/puller/main_test.go (about) 1 // Copyright 2022 The Swarm Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package puller_test 6 7 import ( 8 "testing" 9 10 "go.uber.org/goleak" 11 ) 12 13 func TestMain(m *testing.M) { 14 goleak.VerifyTestMain(m, 15 // leveldb implementation does not wait for all goroutines 16 // to finishing when DB gets closed. 17 goleak.IgnoreTopFunction("github.com/syndtr/goleveldb/leveldb.(*DB).mpoolDrain"), 18 ) 19 }