mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +00:00
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.
This commit is contained in:
parent
3843108081
commit
4e9dcf3da5
@ -692,6 +692,7 @@ func testPropogateStore(ctx context.Context, t *testing.T, store *store, obj *ex
|
||||
func TestPrefix(t *testing.T) {
|
||||
codec := apitesting.TestCodec(codecs, examplev1.SchemeGroupVersion)
|
||||
cluster := integration.NewClusterV3(t, &integration.ClusterConfig{Size: 1})
|
||||
defer cluster.Terminate(t)
|
||||
transformer := prefixTransformer{prefix: []byte("test!")}
|
||||
testcases := map[string]string{
|
||||
"custom/prefix": "/custom/prefix",
|
||||
|
Loading…
Reference in New Issue
Block a user