get rid of e2e/framework -> k/k/pkg/kubelet dependency
It's conceptually wrong to have dependencies to k/k/pkg in the e2e framework code. They should be moved to corresponding packages, in this particular case to the test/e2e_node.
This commit is contained in:
@@ -96,7 +96,7 @@ var _ = SIGDescribe("Kubelet PodOverhead handling [LinuxOnly]", func() {
|
||||
ginkgo.Describe("PodOverhead cgroup accounting", func() {
|
||||
ginkgo.Context("On running pod with PodOverhead defined", func() {
|
||||
ginkgo.It("Pod cgroup should be sum of overhead and resource limits", func(ctx context.Context) {
|
||||
if !framework.TestContext.KubeletConfig.CgroupsPerQOS {
|
||||
if !kubeletCfg.CgroupsPerQOS {
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user