mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 23:37:01 +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) {
|
||||
// Verify that it returns the expected Status.
|
||||
_, s := NewTestGenericStoreRegistry(t)
|
||||
destroyFunc, s := NewTestGenericStoreRegistry(t)
|
||||
defer destroyFunc()
|
||||
obj := &example.Pod{
|
||||
ObjectMeta: metav1.ObjectMeta{Name: "foo", UID: "random-uid"},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user