Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix kube-proxy assertion in integration test #6226

Merged
merged 2 commits into from Feb 1, 2023

Conversation

cPu1
Copy link
Collaborator

@cPu1 cPu1 commented Feb 1, 2023

Description

Fixes a failing assertion for kube-proxy in integration tests. When updating kube-proxy, the version is not always set to the latest version returned from DescribeAddonVersions.

Checklist

  • Added tests that cover your change (if possible)
  • Added/modified documentation as required (such as the README.md, or the userdocs directory)
  • Manually tested
  • Made sure the title of the PR is a good description that can go into the release notes
  • (Core team) Added labels for change area (e.g. area/nodegroup) and kind (e.g. kind/improvement)

BONUS POINTS checklist: complete for good vibes and maybe prizes?! 馃く

  • Backfilled missing tests for code in same general area 馃帀
  • Refactored something and made the world a better place 馃専

@cPu1 cPu1 added area/testing area/ci area/tech-debt Leftover improvements in code, testing and building and removed area/ci labels Feb 1, 2023
@@ -119,8 +121,7 @@ var _ = Describe("(Integration) Update addons", func() {
Expect(config).To(HaveExistingStack(fmt.Sprintf("eksctl-%s-nodegroup-%s", params.ClusterName, initNG)))
})

It(fmt.Sprintf("should upgrade the control plane to version %s", nextEKSVersion), func() {

It("should upgrade the control plane to the next version", func() {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need this change? the original line matches the assertion for lines 134 and below

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do. nextEKSVersion is not set here.

Copy link
Collaborator

@Himangini Himangini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cPu1 cPu1 enabled auto-merge (squash) February 1, 2023 12:48
@cPu1 cPu1 merged commit 2db478a into eksctl-io:main Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/tech-debt Leftover improvements in code, testing and building area/testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants