Ensure that cacher is terminated in TestGetListRecursivePrefix

Kubernetes-commit: 9b5c4504ee49c366be3d7c806482ef4665dc5f70
This commit is contained in:
Marek Siarkowicz 2025-03-31 18:17:08 +02:00 committed by Kubernetes Publisher
parent 51e9232644
commit aed144f141
1 changed files with 2 additions and 1 deletions

View File

@ -224,7 +224,8 @@ func TestGetListNonRecursive(t *testing.T) {
} }
func TestGetListRecursivePrefix(t *testing.T) { func TestGetListRecursivePrefix(t *testing.T) {
ctx, store, _ := testSetup(t) ctx, store, terminate := testSetup(t)
t.Cleanup(terminate)
storagetesting.RunTestGetListRecursivePrefix(ctx, t, store) storagetesting.RunTestGetListRecursivePrefix(ctx, t, store)
} }