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
Bug 1903206: Add unit tests to verify NotReadyAddresses in EndpointSlices #231
Bug 1903206: Add unit tests to verify NotReadyAddresses in EndpointSlices #231
Conversation
|
@frobware: This pull request references Bugzilla bug 1903206, which is invalid:
Comment In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/bugzilla refresh |
|
@frobware: This pull request references Bugzilla bug 1903206, which is valid. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
39d3506
to
9d643ff
Compare
|
/cherry-pick release-4.6 |
|
@frobware: once the present PR merges, I will cherry-pick it on top of release-4.6 in a new PR and assign it to you. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
9d643ff
to
dad618f
Compare
Moved the existing utility function into endpointsubset package. Added unit tests to assert on EndpointSlices having Ready/NotReady conditions. Follow on from openshift#229
dad618f
to
26cbd10
Compare
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: frobware, sgreene570 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 |
|
test failures: /retest |
|
@frobware: All pull requests linked via external trackers have merged: Bugzilla bug 1903206 has been moved to the MODIFIED state. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
@frobware: #231 failed to apply on top of branch "release-4.6": In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Although this has merged I disagree. In general always test the public API, using _test was a deliberate choice. |
The cherry-pick needs #230 |
|
/cherry-pick release-4.6 |
|
@frobware: new pull request created: #232 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Interesting. I didn't realize that that was allowed, but % go help test
usage: go test [build/test flags] [packages] [build/test flags & test binary flags]
[...]
Test files that declare a package with the suffix "_test" will be compiled as a
separate package, and then linked and run with the main test binary.https://stackoverflow.com/questions/19998250/proper-package-naming-for-testing-with-the-go-language TIL. |
Moved the existing utility function into endpointsubset package. Added
unit tests to assert on EndpointSlices having Ready/NotReady
conditions.
Follow on from #229