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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add E2E tests for MachineDeployment orchestrated in-place upgrades #74

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

HomayoonAlimohammadi
Copy link
Contributor

@HomayoonAlimohammadi HomayoonAlimohammadi commented Oct 18, 2024

Overview

This PR adds the E2E tests for MachineDeployment Orchestrated In-Place Upgrades.

You can run this test specifically if you include a unique part of the description in GINKGO_FOCUS:

make GINKGO_FOCUS="\\[MD-InPlace\\]" test-e2e

@HomayoonAlimohammadi HomayoonAlimohammadi requested a review from a team as a code owner October 18, 2024 14:03
Copy link
Contributor

@bschimke95 bschimke95 left a comment

Choose a reason for hiding this comment

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

LGTM, minor comment but feel free to ignore.

}, retryableOperationTimeout, retryableOperationInterval).Should(Succeed(), "Couldn't list machines for the machineDeployment %q", machineDeployment.Name)

for _, machine := range machineList.Items {
Expect(machine.Annotations[bootstrapv1.InPlaceUpgradeStatusAnnotation]).To(Equal(bootstrapv1.InPlaceUpgradeDoneStatus))
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: should we also check that the version matches?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants