From 8f6664f2eb155457ce2c7a97776969e290daf07e Mon Sep 17 00:00:00 2001 From: Nell Jerram Date: Mon, 16 Jan 2023 18:18:19 +0000 Subject: [PATCH] etcd data dir is now default.etcd; clean it when starting etcd I'm not sure if it was previously .default.etcd with another version, but I see no harm from keeping the rmtree for that name as well. --- networking-calico/networking_calico/tests/test_fv_etcdutils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/networking-calico/networking_calico/tests/test_fv_etcdutils.py b/networking-calico/networking_calico/tests/test_fv_etcdutils.py index 04f03f1cc40..984ffe59e8a 100644 --- a/networking-calico/networking_calico/tests/test_fv_etcdutils.py +++ b/networking-calico/networking_calico/tests/test_fv_etcdutils.py @@ -50,6 +50,7 @@ def tearDown(self): def start_etcd_server(self): shutil.rmtree(".default.etcd", ignore_errors=True) + shutil.rmtree("default.etcd", ignore_errors=True) self.etcd = subprocess.Popen([ "/usr/local/bin/etcd", "--advertise-client-urls", "http://127.0.0.1:2379",