File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 9
9
"path/filepath"
10
10
"testing"
11
11
12
+ "github.com/cockroachdb/crlib/testutils/leaktest"
12
13
"github.com/cockroachdb/pebble/internal/metamorphic/metaflags"
13
14
"github.com/cockroachdb/pebble/metamorphic"
14
15
)
@@ -52,14 +53,17 @@ var runOnceFlags, runFlags = metaflags.InitAllFlags()
52
53
// be customized via the --inner-binary flag (used for code coverage
53
54
// instrumentation).
54
55
func TestMeta (t * testing.T ) {
56
+ defer leaktest .AfterTest (t )()
55
57
runTestMeta (t )
56
58
}
57
59
58
60
func TestMetaTwoInstance (t * testing.T ) {
61
+ defer leaktest .AfterTest (t )()
59
62
runTestMeta (t , metamorphic .MultiInstance (2 ))
60
63
}
61
64
62
65
func TestMetaCockroachKVs (t * testing.T ) {
66
+ defer leaktest .AfterTest (t )()
63
67
runTestMeta (t , metamorphic .CockroachKeyFormat )
64
68
}
65
69
You can’t perform that action at this time.
0 commit comments