Skip to content

Commit a671378

Browse files
author
Matt Wheeler
committed
ETCDCTL_API=3 is the default from v3.4
1 parent e6f57c9 commit a671378

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pifpaf/tests/test_drivers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def test_etcd(self):
130130
self.assertEqual(str(port), os.getenv("PIFPAF_ETCD_PORT"))
131131
r = requests.get("http://localhost:%d/version" % port)
132132
self.assertEqual(200, r.status_code)
133-
self._run("etcdctl cluster-health")
133+
self._run("etcdctl endpoint health")
134134

135135
@testtools.skipUnless(spawn.find_executable("etcd"),
136136
"etcd not found")
@@ -144,7 +144,7 @@ def test_etcd_cluster(self):
144144
self.assertEqual(str(port), os.getenv("PIFPAF_ETCD_PORT"))
145145
r = requests.get("http://localhost:%d/version" % port)
146146
self.assertEqual(200, r.status_code)
147-
self._run("etcdctl cluster-health")
147+
self._run("etcdctl endpoint health")
148148

149149
@testtools.skipUnless(spawn.find_executable("consul"),
150150
"consul not found")

0 commit comments

Comments
 (0)