Skip to content

Commit

Permalink
test/e2e: align with latest kubernetes code base
Browse files Browse the repository at this point in the history
  • Loading branch information
marquiz committed Aug 16, 2023
1 parent 5d5f133 commit 2e79a01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/topology_updater_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import (
"k8s.io/apimachinery/pkg/labels"
kubeletconfig "k8s.io/kubernetes/pkg/kubelet/apis/config"
"k8s.io/kubernetes/test/e2e/framework"
"k8s.io/kubernetes/test/e2e/framework/kubelet"
e2ekubeletconfig "k8s.io/kubernetes/test/e2e_node/kubeletconfig"
admissionapi "k8s.io/pod-security-admission/api"

e2epod "k8s.io/kubernetes/test/e2e/framework/pod"
Expand Down Expand Up @@ -91,7 +91,7 @@ var _ = SIGDescribe("NFD topology updater", func() {
topologyUpdaterNode, err = f.ClientSet.CoreV1().Nodes().Get(ctx, pods.Items[0].Spec.NodeName, metav1.GetOptions{})
Expect(err).NotTo(HaveOccurred())

kubeletConfig, err = kubelet.GetCurrentKubeletConfig(ctx, topologyUpdaterNode.Name, "", true, false)
kubeletConfig, err = e2ekubeletconfig.GetCurrentKubeletConfig(ctx, topologyUpdaterNode.Name, "", true, false)
Expect(err).NotTo(HaveOccurred())

workerNodes, err = testutils.GetWorkerNodes(ctx, f)
Expand Down

0 comments on commit 2e79a01

Please sign in to comment.