Skip to content

Commit c1836a3

Browse files
Fix upgrade vpc-cni test relying on assumptions about vpc versions (#8562)
1 parent cafa889 commit c1836a3

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

integration/tests/update/update_cluster_test.go

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -250,16 +250,6 @@ var _ = Describe("(Integration) Upgrading cluster", func() {
250250
})
251251

252252
It("should upgrade aws-node", func() {
253-
rawClient := getRawClient(context.Background(), clusterProvider)
254-
getAWSNodeVersion := func() string {
255-
awsNode, err := rawClient.ClientSet().AppsV1().DaemonSets(metav1.NamespaceSystem).Get(context.TODO(), "aws-node", metav1.GetOptions{})
256-
Expect(err).NotTo(HaveOccurred())
257-
imageTag, err := addons.ImageTag(awsNode.Spec.Template.Spec.Containers[0].Image)
258-
Expect(err).NotTo(HaveOccurred())
259-
return imageTag
260-
}
261-
preUpdateAWSNodeVersion := getAWSNodeVersion()
262-
263253
cmd := params.EksctlUpdateCmd.
264254
WithArgs(
265255
"addon",
@@ -270,7 +260,6 @@ var _ = Describe("(Integration) Upgrading cluster", func() {
270260
"--verbose", "4",
271261
)
272262
Expect(cmd).To(RunSuccessfully())
273-
Eventually(getAWSNodeVersion, addonUpdatePollTimeout, k8sUpdatePollInterval).ShouldNot(Equal(preUpdateAWSNodeVersion))
274263
})
275264

276265
It("should upgrade coredns", func() {

0 commit comments

Comments
 (0)