Commit dbca1f75 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #43737 from CaoShuFeng/store_test

Automatic merge from submit-queue (batch tested with PRs 42360, 43109, 43737, 43853) delete etcd socket file for unit tests This change clean up the environment for etcd3 unit test. Without this change, "make test" will leave some socket files in workspace. And these socket files make hack/verify-generated-protobuf.sh fails. **Release note**: ```NONE ```
parents bf1428f6 4e9dcf3d
...@@ -692,6 +692,7 @@ func testPropogateStore(ctx context.Context, t *testing.T, store *store, obj *ex ...@@ -692,6 +692,7 @@ func testPropogateStore(ctx context.Context, t *testing.T, store *store, obj *ex
func TestPrefix(t *testing.T) { func TestPrefix(t *testing.T) {
codec := apitesting.TestCodec(codecs, examplev1.SchemeGroupVersion) codec := apitesting.TestCodec(codecs, examplev1.SchemeGroupVersion)
cluster := integration.NewClusterV3(t, &integration.ClusterConfig{Size: 1}) cluster := integration.NewClusterV3(t, &integration.ClusterConfig{Size: 1})
defer cluster.Terminate(t)
transformer := prefixTransformer{prefix: []byte("test!")} transformer := prefixTransformer{prefix: []byte("test!")}
testcases := map[string]string{ testcases := map[string]string{
"custom/prefix": "/custom/prefix", "custom/prefix": "/custom/prefix",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment