integration.BeforeTest can be run without leak-detection.

This commit is contained in:
Piotr Tabor
2021-05-27 18:44:14 +02:00
parent 71934ff244
commit f15e0b8237
13 changed files with 116 additions and 37 deletions

View File

@ -35,7 +35,7 @@ func TestMain(m *testing.M) {
func TestSample(t *testing.T) {
SkipTestIfShortMode(t, "Counting leaked routines is disabled in --short tests")
defer AfterTest(t)
defer afterTest(t)
ranSample = true
for range make([]struct{}, 100) {
go func() {