mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 18:24:07 +00:00
remove leaked socket file in unit test
This commit is contained in:
parent
67730881a6
commit
2c19b9e143
@ -1837,7 +1837,8 @@ func newTestGenericStoreRegistry(t *testing.T, scheme *runtime.Scheme, hasCacheE
|
|||||||
|
|
||||||
func TestFinalizeDelete(t *testing.T) {
|
func TestFinalizeDelete(t *testing.T) {
|
||||||
// Verify that it returns the expected Status.
|
// Verify that it returns the expected Status.
|
||||||
_, s := NewTestGenericStoreRegistry(t)
|
destroyFunc, s := NewTestGenericStoreRegistry(t)
|
||||||
|
defer destroyFunc()
|
||||||
obj := &example.Pod{
|
obj := &example.Pod{
|
||||||
ObjectMeta: metav1.ObjectMeta{Name: "foo", UID: "random-uid"},
|
ObjectMeta: metav1.ObjectMeta{Name: "foo", UID: "random-uid"},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user