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

Automate Qase 222, 210, 261, 209, 217, 195, 230 #171

Merged
merged 1 commit into from
Sep 25, 2024
Merged

Conversation

valaparthvi
Copy link
Collaborator

@valaparthvi valaparthvi commented Sep 23, 2024

What does this PR do?

  1. Automates Qase 222, 210, 261, 209, 217, 195, 230
  2. Modifies AddNodePool to include all the fields wrt r/shepherd update.

Which issue(s) this PR fixes (optional, in fixes #(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):

Fixes #

Checklist:

Special notes for your reviewer:

@@ -184,6 +323,37 @@ var _ = Describe("P1Provisioning", func() {
Expect(err).NotTo(HaveOccurred())
})

It("should not be able to edit availability zone of a nodepool", func() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should this be marked XIt ?
Since the current assertion is not the expected result.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

User is not allowed to edit the availability zone, even though POST request does not return an error, the state of AZ is restored. Hence, I did not mark the test as XIt.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ok, can we add check to find the AZ are indeed restored.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It has been added on L#345-354. I could also add UpstreamSpec check if that is what you meant.

@valaparthvi valaparthvi merged commit 923dd34 into main Sep 25, 2024
2 checks passed
@valaparthvi valaparthvi deleted the automate-aks branch September 25, 2024 07:33
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