mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

The temporary directory created by t.TempDir() can be automatically removed by the golang testing utilities. So no need to remove it manually. FYI. https://github.com/golang/go/blob/go1.16.15/src/testing/testing.go#L911-L915 https://github.com/golang/go/blob/go1.16.15/src/testing/testing.go#L957 Signed-off-by: Benjamin Wang <wachao@vmware.com>