mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 04:33:26 +00:00
delete tests which use container manager stub
This commit is contained in:
parent
4357551ae3
commit
7d58ead809
@ -21,8 +21,6 @@ import (
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
"k8s.io/kubernetes/pkg/kubelet/cm"
|
||||
)
|
||||
|
||||
func TestKubeletDirs(t *testing.T) {
|
||||
@ -92,14 +90,4 @@ func TestKubeletDirs(t *testing.T) {
|
||||
got = kubelet.getPodResourcesDir()
|
||||
exp = filepath.Join(root, "pod-resources")
|
||||
assert.Equal(t, exp, got)
|
||||
|
||||
// GetNodeConfig for containerManagerStub returns an empty node config
|
||||
gotCfg := kubelet.GetNodeConfig()
|
||||
expCfg := cm.NodeConfig{}
|
||||
assert.Equal(t, expCfg, gotCfg)
|
||||
|
||||
// GetPodCgroupRoot for containerManagerStub returns an empty string
|
||||
got = kubelet.GetPodCgroupRoot()
|
||||
exp = ""
|
||||
assert.Equal(t, exp, got)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user