From e87ca33cee257f70c9d05dfbbd089c111e40fee7 Mon Sep 17 00:00:00 2001 From: Matt Wheeler Date: Wed, 6 Nov 2019 12:40:55 +0000 Subject: [PATCH] ETCDCTL_API=3 is the default from v3.4 --- pifpaf/tests/test_drivers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pifpaf/tests/test_drivers.py b/pifpaf/tests/test_drivers.py index 0e0c70c..f892be8 100644 --- a/pifpaf/tests/test_drivers.py +++ b/pifpaf/tests/test_drivers.py @@ -130,7 +130,7 @@ def test_etcd(self): self.assertEqual(str(port), os.getenv("PIFPAF_ETCD_PORT")) r = requests.get("http://localhost:%d/version" % port) self.assertEqual(200, r.status_code) - self._run("etcdctl cluster-health") + self._run("etcdctl endpoint health") @testtools.skipUnless(spawn.find_executable("etcd"), "etcd not found")