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

Prior to this PR, the e2e tests where creating dirs like: ``` /tmp/testname1.etcd030299846 /tmp/testname0.etcd039445123 /tmp/testname0.etcd206372065 ``` and not cleaning them, that led to disk-space-exceeded flakes. After the PR, the testing.TB tempdir mechanism is used and the names are being cleaned and are more miningful: ``` ../../bin/etcd --name test-TestCtlV3EndpointHashKV-2 --listen-client-urls http://localhost:20010 --advertise-client-urls http://localhost:20010 --listen-peer-urls https://localhost:20011 --initial-advertise-peer-urls https://localhost:20011 --initial-cluster-token new --data-dir /tmp/TestCtlV3EndpointHashKV429176179/003 --snapshot-count 100000 --experimental-initial-corrupt-check --peer-auto-tls --initial-cluster test-TestCtlV3EndpointHashKV-0=https://localhost:20001,test-TestCtlV3EndpointHashKV-1=https://localhost:20006,test-TestCtlV3EndpointHashKV-2=https://localhost:20011 ```