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
storage/etcd3: factor tests to accept storage.Interface
#109833
storage/etcd3: factor tests to accept storage.Interface
#109833
Conversation
This commit simply factors the test functionality into functions that accept `storage.Interface`. Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
These can't live in `_test.go` files, or others won't be able to re-use them as you can't import from test files. Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
ca67e18
to
0bfeb72
Compare
Part of #109831 |
/triage accepted |
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
Flake on |
Thanks - this looks great. /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: stevekuznetsov, wojtek-t 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 pull-kubernetes-conformance-kind-ga-only-parallel |
storage/etcd3: factor tests to accept
storage.Interface
This commit simply factors the test functionality into functions that
accept
storage.Interface
.Signed-off-by: Steve Kuznetsov skuznets@redhat.com
storage/etcd3: move reusable tests to importable files
These can't live in
_test.go
files, or others won't be able to re-usethem as you can't import from test files.
Signed-off-by: Steve Kuznetsov skuznets@redhat.com
/kind cleanup
/sig api-machinery
/assign @wojtek-t
/cc @liggitt @lavalamp