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

Fix AKS failure #234

Merged
merged 3 commits into from
Jan 9, 2025
Merged

Fix AKS failure #234

merged 3 commits into from
Jan 9, 2025

Conversation

valaparthvi
Copy link
Collaborator

@valaparthvi valaparthvi commented Jan 8, 2025

What does this PR do?

  • Fix test case ID from 217 to 214 and fix the test.
  • Add a new function CreateAKSRGOnAzure to create RG via CLI
  • Increase timeout for a failing test

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

Fixes #192

Checklist:

  • Squashed commits into logical changes
  • Documentation
  • GitHub Actions (if applicable) - P1 Prov, P1 Import

Special notes for your reviewer:

Signed-off-by: Parthvi Vala <[email protected]>
@valaparthvi valaparthvi marked this pull request as ready for review January 9, 2025 06:05

out, err := proc.RunW("az", rgargs...)
if err != nil {
return errors.Wrap(err, "Failed to create cluster: "+out)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
return errors.Wrap(err, "Failed to create cluster: "+out)
return errors.Wrap(err, "Failed to create resource group: "+out)

AfterEach(func() {
if ctx.ClusterCleanup && (cluster != nil && cluster.ID != "") {
GinkgoLogr.Info(fmt.Sprintf("Cleaning up resources %s %s", cluster.Name, cluster.ID))
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
GinkgoLogr.Info(fmt.Sprintf("Cleaning up resources %s %s", cluster.Name, cluster.ID))
GinkgoLogr.Info(fmt.Sprintf("Cleaning up resources, cluster: %s %s", cluster.Name, cluster.ID))

Copy link
Collaborator

@cpinjani cpinjani left a comment

Choose a reason for hiding this comment

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

looks good based on the CI runs, thanks

valaparthvi and others added 2 commits January 9, 2025 16:23
Co-authored-by: Parthvi Vala <[email protected]>
Co-authored-by: Chandan Pinjani <[email protected]>
Signed-off-by: Parthvi Vala <[email protected]>
@valaparthvi valaparthvi merged commit a044952 into main Jan 9, 2025
4 of 5 checks passed
@valaparthvi valaparthvi deleted the fix-aks branch January 9, 2025 14:41
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.

Refactor AKS Test - CaseID 217
2 participants