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")