Skip to content

Commit 9b5c450

Browse files
serathiusahrtr
authored andcommitted
Ensure that cacher is terminated in TestGetListRecursivePrefix
1 parent 2453698 commit 9b5c450

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_test.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,8 @@ func TestGetListNonRecursive(t *testing.T) {
224224
}
225225

226226
func TestGetListRecursivePrefix(t *testing.T) {
227-
ctx, store, _ := testSetup(t)
227+
ctx, store, terminate := testSetup(t)
228+
t.Cleanup(terminate)
228229
storagetesting.RunTestGetListRecursivePrefix(ctx, t, store)
229230
}
230231

0 commit comments

Comments
 (0)