From 9ee14bc100c88c64cf86e17ef4a104619c5d1578 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pifpaf/tests/test_drivers.py b/pifpaf/tests/test_drivers.py index 870b3e8..32aae20 100644 --- a/pifpaf/tests/test_drivers.py +++ b/pifpaf/tests/test_drivers.py @@ -129,7 +129,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") @@ -143,7 +143,7 @@ def test_etcd_cluster(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("consul"), "consul not found")