-
Notifications
You must be signed in to change notification settings - Fork 431
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
Update privateclusters e2e test for SDKv2 #4268
Update privateclusters e2e test for SDKv2 #4268
Conversation
/retitle [WIP] Update privateclusters e2e test for SDKv2 |
/test pull-cluster-api-provider-azure-e2e-optional |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4268 +/- ##
=======================================
Coverage 60.03% 60.03%
=======================================
Files 192 192
Lines 19297 19297
=======================================
Hits 11585 11585
Misses 7075 7075
Partials 637 637 ☔ View full report in Codecov by Sentry. |
All the -optional test specs failed in the same way, apparently unrelated to this change. I'll run them once more. /test pull-cluster-api-provider-azure-e2e-optional |
f2669b1
to
0578410
Compare
/test pull-cluster-api-provider-azure-e2e-optional |
/test pull-cluster-api-provider-azure-e2e-optional |
1 similar comment
/test pull-cluster-api-provider-azure-e2e-optional |
0578410
to
f5d251f
Compare
/test pull-cluster-api-provider-azure-e2e-optional |
f5d251f
to
c1bdd30
Compare
/test pull-cluster-api-provider-azure-e2e-optional |
c1bdd30
to
f649f6a
Compare
/test pull-cluster-api-provider-azure-e2e-optional |
1 similar comment
/test pull-cluster-api-provider-azure-e2e-optional |
w00t it passed (ignore the Flatcar failure). I'll squash and promote from draft. |
44d780a
to
9111d0a
Compare
/test pull-cluster-api-provider-azure-e2e-optional |
Lots of red on that run, but it did pass the privateclusters e2e spec: https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/kubernetes-sigs_cluster-api-provider-azure/4268/pull-cluster-api-provider-azure-e2e-optional/1729921750407319552 |
@mboersma For context, what was the heart of the reason that this test was more complicated to update to SDK v2 than other tests? |
@nojnhuh the main differences were:
But overall, the issue was that I previously updated this all at once, in a flurry of test and service refactoring, and it failed in a way I wasn't able to diagnose. So I tried again, replacing the code bit by bit, and this time it succeeded. It took quite a while because I'm not able to run this particular test locally, so I had to make it a draft PR and then manually run the |
/retest-required |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
@@ -140,10 +140,6 @@ issues: | |||
- prealloc | |||
- path: ^test/ | |||
text: exported (.+) should have comment( \(or a comment on this block\))? or be unexported | |||
# Need to use the deprecated module "github.com/Azure/azure-sdk-for-go/services" till issue #2670 is addressed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥳
LGTM label has been added. Git tree hash: b1b52eb0ee593bd2d31b4466a94114a4bdb82ac3
|
/retest |
The |
Everything passed except for the Flatcar spec, so I think this is ready for review. |
Flatcar should be fixed now /retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: CecileRobertMichon The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Removes the last vestige of Azure SDK v1 code from CAPZ, specifically the
privatecluster
e2e test.Which issue(s) this PR fixes:
Fixes #4056
Special notes for your reviewer:
TODOs:
Release note: