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 lib unit tests #1994
Add lib unit tests #1994
Conversation
Hi @saschagrunert. Thanks for your PR. I'm waiting for a kubernetes-sigs or kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
Hi @saschagrunert. Thanks for your PR. I'm waiting for a kubernetes-sigs or openshift member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
1ffdf30
to
2d59566
Compare
/ok-to-test |
5d2ea87
to
2b4c3d5
Compare
91e368d
to
408ca80
Compare
8ccf4fc
to
ab30efb
Compare
/retest |
Mocking of the |
@saschagrunert oh I completely missed this, I'm truly sorry. I didn't realize this was used for mocking (which is a great way to test IMO), that's why I simply made it private. /cc @mrunalp |
Sounds good to me.
… On Mar 11, 2019, at 9:51 AM, Sebastien Boeuf ***@***.***> wrote:
@saschagrunert oh I completely missed this, I'm truly sorry. I didn't realize this was used for mocking (which is a great way to test IMO), that's why I simply made it private.
Now that there's a use case for this to be public, let's move it back to public then :)
/cc @mrunalp
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Great, and sorry for the extra workload here... |
7671a4a
to
f85d660
Compare
/test e2e_fedora |
}) | ||
|
||
// TODO(sgrunert): uncomment when the following issue is resolved: | ||
// https://github.com/kubernetes-sigs/cri-o/issues/1987 |
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.
#1987 was fixed. This test can be uncommented now.
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.
Ah I verified that it is not resolved yet, reopened the issue and prepared a fix within #2127
Needs rebase @saschagrunert . |
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
f85d660
to
109d370
Compare
/test e2e_rhel |
/lgtm |
@rhatdan @mrunalp @umohnani8 needs approved label |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rhatdan, saschagrunert 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 |
This PR adds unit tests to the
lib
package. Beside that I added a config interface and fixed up some possible nil pointer dereferences I found during the test creation.