Commit 4319f0fe authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

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 ```
parents 9fff13b7 2c19b9e1
......@@ -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"},
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment