-
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
Add mock interfaces #182
Add mock interfaces #182
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: justaugustus 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 |
44ab32b
to
544f35d
Compare
/assign @awesomenix @soggiest |
(Pivoting a little on the mocks to utilize bazel_gomock, so I'm setting this as WIP again.) |
/test pull-cluster-api-provider-azure-bazel-test |
Signed-off-by: Stephen Augustus <[email protected]>
Cross-linking kubernetes-sigs/cluster-api-provider-aws#719 since our mock tests are now failing like @vincepri's tests |
/retest |
/test pull-cluster-api-provider-azure-bazel-test |
(Re-running tests for paranoia's sake) |
Builds were failing due to the images we are using for this repo's presubmits. After merging kubernetes/test-infra#12217, all is well! |
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
Signed-off-by: Stephen Augustus [email protected]
What this PR does / why we need it:
This is a first pass at adding mocks to the project.
I've deleted the old (pre-refactor) mock interfaces and leveraged the gomock and the bazel generation rules to create new mocks.
With new mocks, we can start to deepen our test coverage across the Azure resource-level packages.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):This is needed to enable some testing work on #174.
Release note: