Commit 2b594d61 authored by Rohit Agarwal's avatar Rohit Agarwal

Add missing Cleanup() calls in kubelet tests.

Possibly related to #45803 and #46204.
parent 0f5cc402
......@@ -112,6 +112,7 @@ func TestParseResolvConf(t *testing.T) {
func TestComposeDNSSearch(t *testing.T) {
testKubelet := newTestKubelet(t, false /* controllerAttachDetachEnabled */)
defer testKubelet.Cleanup()
kubelet := testKubelet.kubelet
recorder := record.NewFakeRecorder(20)
......
......@@ -33,6 +33,7 @@ import (
func TestListVolumesForPod(t *testing.T) {
testKubelet := newTestKubelet(t, false /* controllerAttachDetachEnabled */)
defer testKubelet.Cleanup()
kubelet := testKubelet.kubelet
pod := podWithUidNameNsSpec("12345678", "foo", "test", v1.PodSpec{
......
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