mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 06:27:05 +00:00
Merge pull request #47302 from CaoShuFeng/leak_socket_file
Automatic merge from submit-queue (batch tested with PRs 47302, 47389, 47402, 47468, 47459) remove leaked socket file in unit test Fixes #47301 **Release note**: ``` NONE ```
This commit is contained in:
commit
4319f0fe5e
@ -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