Add unit test for plugin#5666
Conversation
|
Hi @wllenyj. Thanks for your PR. I'm waiting for a containerd 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. DetailsInstructions 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. |
|
Build succeeded.
|
There was a problem hiding this comment.
Looks like a typo? s/GCPlugin/GRPCPlugin/
Edit: this is a "GC" plugin.. oops; reading too fast :)
There was a problem hiding this comment.
thanks for review :)
|
@wllenyj looks like linter is not happy: PTAL? |
|
Build succeeded.
|
@mxpv fixed |
|
Build succeeded.
|
There was a problem hiding this comment.
Why is this test needed? If the purpose is to test Graph, isn't TestPluginGraph just enough?
There was a problem hiding this comment.
TestContainerdPlugin tries to simulate the use of containerd as much as possible, Graph is the constructed test case. I think it is clearer to separate them.
There was a problem hiding this comment.
Do they need to be public functions?
|
Build succeeded.
|
|
Code looks good, can you use your real name on the sign off though rather than Github username |
Signed-off-by: wanglei <[email protected]>
Done :) |
|
Build succeeded.
|
|
Build succeeded.
|
|
Build succeeded.
|
|
/retest what's going on? Can anyone give me some suggestions? |
|
@wllenyj: Cannot trigger testing until a trusted user reviews the PR and leaves an DetailsIn 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. |
|
/retest |
kzys
left a comment
There was a problem hiding this comment.
Looks good to me.
@containerd/committers Can someone take a look and merge?
Signed-off-by: wanglei [email protected]